export interface FileRecord {
  id: string;
  user_id: string | null;
  filename: string;
  file_path: string;
  file_type: string;
  file_size: number;
  thumbnail_path: string | null;
  status: 'pending' | 'processing' | 'completed' | 'failed';
  created_at: string;
  updated_at: string;
}

export interface RecognitionResult {
  id: string;
  file_id: string;
  markdown_content: string | null;
  latex_content: string | null;
  mathml_content: string | null;
  mml: string | null;
  rendered_image_path: string | null;
  created_at: string;
}

export type ExportFormat =
  | 'markdown'
  | 'latex'
  | 'mathml'
  | 'image'
  | 'docx'
  | 'pdf'
  | 'xlsx';

export type FormatCategory = 'code' | 'image' | 'file';
