/** * Common interfaces and types for the vision parser library */ export interface FileObject { file_name: string; cache_key?: string; total_pages: number; total_words: number; file_full_path: string; pages: Page[]; } export interface Page { page_number: number; page_content: string; page_hash: string; } export interface VisionParserResult { file_object: FileObject; usage?: TokenUsage; } export interface CacheResult { [key: string]: any; } export interface ImageSource { type: string; media_type: string; data: string; } export interface ImageContent { type: string; source: ImageSource; } export interface TextContent { type: string; text: string; } export type ContentItem = ImageContent | TextContent; export interface TokenUsage { input_tokens?: number; output_tokens?: number; total_tokens?: number; prompt_tokens?: number; completion_tokens?: number; } export declare enum ImageQuality { LOW_RES = "low", HIGH_RES = "high", DEFAULT = "high" } //# sourceMappingURL=interfaces.d.ts.map