export interface IMessage { id: number; role: 'user' | 'ai'; text: string; time?: string; mode?: IMode; } export type IMode = 'conversation' | 'agent' | 'doc_qa'; export type FormType = 'sales_invoice' | 'purchase_invoice'; export declare const FORM_TYPE_LABELS: Record; export type InsightKind = 'red' | 'amber' | 'blue' | ''; export type DocumentStatus = 'uploading' | 'pending' | 'processing' | 'parsing' | 'embedding' | 'indexing' | 'ready' | 'failed'; export interface IDocument { doc_id: string; filename: string; status: DocumentStatus; pages?: number; category?: string; sub_category?: string; chunk_count?: number; error?: string; error_code?: string; summary?: string; suggested_questions?: string[]; } export type FileCategory = 'pdf' | 'excel' | 'doc' | 'md' | 'image'; export declare const ACCEPTED_FILE_EXTENSIONS: Record; export declare const ACCEPT_ATTR: string; export declare const getFileCategory: (filename: string) => FileCategory | null; export declare const getTime: () => string; export declare const getGreeting: () => "Good morning" | "Good afternoon" | "Good evening";