/** * PDF Vision Processor - Point d'entrée principal * * Cette bibliothèque propose deux modes d'utilisation : * 1. API Server : Créer un serveur REST pour traiter les PDFs via HTTP * 2. Library : Utiliser directement les fonctions d'extraction dans votre code */ export { createVisionAPI, type APIServerConfig } from './api/server'; export { extractPdf, extractPdfWithMetadata, extractInvoicePdf, extractTablesPdf, extractReceiptPdf, schemas, providers, type ExtractOptions, type ExtractResult, type ComprehensiveInvoice, type TablesOnly, type BasicReceipt, type VisionExtractionOptions, type PdfProcessorConfig } from './lib'; export { aiVisionProcessor, extractWithAI, extractInvoice, extractTables } from './core/vision'; export { ComprehensiveInvoiceSchema, TablesOnlySchema, BasicReceiptSchema, SchemaFactory } from './core/schemas'; import * as API from './api/server'; import * as Library from './lib'; /** * Export par défaut combinant API et Library */ declare const _default: { createServer: typeof API.createVisionAPI; extractPdf: typeof Library.extractPdf; extractPdfWithMetadata: typeof Library.extractPdfWithMetadata; extractInvoice: typeof Library.extractInvoicePdf; extractTables: typeof Library.extractTablesPdf; extractReceipt: typeof Library.extractReceiptPdf; schemas: { invoice: import("zod").ZodObject<{ document_info: import("zod").ZodOptional>; language: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; total_pages: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { document_type?: string; language?: string; currency?: string; total_pages?: number; }, { document_type?: string; language?: string; currency?: string; total_pages?: number; }>>; invoice_details: import("zod").ZodOptional>; invoice_date: import("zod").ZodOptional>; due_date: import("zod").ZodOptional>; purchase_order: import("zod").ZodOptional>; reference_number: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { invoice_number?: string; invoice_date?: string; due_date?: string; purchase_order?: string; reference_number?: string; }, { invoice_number?: string; invoice_date?: string; due_date?: string; purchase_order?: string; reference_number?: string; }>>; seller_info: import("zod").ZodOptional>; company_name: import("zod").ZodOptional>; address: import("zod").ZodOptional>; city: import("zod").ZodOptional>; postal_code: import("zod").ZodOptional>; country: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { street?: string; city?: string; postal_code?: string; country?: string; }, { street?: string; city?: string; postal_code?: string; country?: string; }>>>; phone: import("zod").ZodOptional>; email: import("zod").ZodOptional, import("zod").ZodLiteral]>>; website: import("zod").ZodOptional>; vat_number: import("zod").ZodOptional>; tax_id: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }, { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }>>; buyer_info: import("zod").ZodOptional>; company_name: import("zod").ZodOptional>; address: import("zod").ZodOptional>; city: import("zod").ZodOptional>; postal_code: import("zod").ZodOptional>; country: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { street?: string; city?: string; postal_code?: string; country?: string; }, { street?: string; city?: string; postal_code?: string; country?: string; }>>>; phone: import("zod").ZodOptional>; email: import("zod").ZodOptional, import("zod").ZodLiteral]>>; website: import("zod").ZodOptional>; vat_number: import("zod").ZodOptional>; tax_id: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }, { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }>>; line_items: import("zod").ZodOptional>; description: import("zod").ZodOptional>; quantity: import("zod").ZodOptional>; unit: import("zod").ZodOptional>; unit_price: import("zod").ZodOptional>; discount: import("zod").ZodOptional>; tax_rate: import("zod").ZodOptional>; tax_amount: import("zod").ZodOptional>; line_total: import("zod").ZodOptional>; quantite: import("zod").ZodOptional>; prix_unitaire: import("zod").ZodOptional>; montant_ht: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; taux_tva: import("zod").ZodOptional>; montant_tva: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }, { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }>, "many">>; financial_totals: import("zod").ZodOptional>; discount_total: import("zod").ZodOptional>; tax_total: import("zod").ZodOptional>; shipping_cost: import("zod").ZodOptional>; total_amount: import("zod").ZodOptional>; amount_paid: import("zod").ZodOptional>; balance_due: import("zod").ZodOptional>; total_ht: import("zod").ZodOptional>; total_tva: import("zod").ZodOptional>; total_ttc: import("zod").ZodOptional>; montant_ht: import("zod").ZodOptional>; montant_tva: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }>>; payment_info: import("zod").ZodOptional>; payment_method: import("zod").ZodOptional>; payment_due_date: import("zod").ZodOptional>; bank_details: import("zod").ZodOptional>; iban: import("zod").ZodOptional>; swift_code: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { payment_terms?: string; payment_method?: string; payment_due_date?: string; bank_details?: string; iban?: string; swift_code?: string; }, { payment_terms?: string; payment_method?: string; payment_due_date?: string; bank_details?: string; iban?: string; swift_code?: string; }>>; pages: import("zod").ZodOptional>; description: import("zod").ZodOptional>; quantity: import("zod").ZodOptional>; unit: import("zod").ZodOptional>; unit_price: import("zod").ZodOptional>; discount: import("zod").ZodOptional>; tax_rate: import("zod").ZodOptional>; tax_amount: import("zod").ZodOptional>; line_total: import("zod").ZodOptional>; quantite: import("zod").ZodOptional>; prix_unitaire: import("zod").ZodOptional>; montant_ht: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; taux_tva: import("zod").ZodOptional>; montant_tva: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }, { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }>, "many">>; totals: import("zod").ZodOptional>; discount_total: import("zod").ZodOptional>; tax_total: import("zod").ZodOptional>; shipping_cost: import("zod").ZodOptional>; total_amount: import("zod").ZodOptional>; amount_paid: import("zod").ZodOptional>; balance_due: import("zod").ZodOptional>; total_ht: import("zod").ZodOptional>; total_tva: import("zod").ZodOptional>; total_ttc: import("zod").ZodOptional>; montant_ht: import("zod").ZodOptional>; montant_tva: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }>>; sections_detaillees: import("zod").ZodOptional>; prix_unitaire: import("zod").ZodOptional>; montant_ht: import("zod").ZodOptional>; taux_tva: import("zod").ZodOptional>; montant_tva: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }, { quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }>>; sous_total: import("zod").ZodOptional>; discount_total: import("zod").ZodOptional>; tax_total: import("zod").ZodOptional>; shipping_cost: import("zod").ZodOptional>; total_amount: import("zod").ZodOptional>; amount_paid: import("zod").ZodOptional>; balance_due: import("zod").ZodOptional>; total_ht: import("zod").ZodOptional>; total_tva: import("zod").ZodOptional>; total_ttc: import("zod").ZodOptional>; montant_ht: import("zod").ZodOptional>; montant_tva: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }>>; }, "strip", import("zod").ZodTypeAny, { items?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }, { items?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }>>>; total: import("zod").ZodOptional>; discount_total: import("zod").ZodOptional>; tax_total: import("zod").ZodOptional>; shipping_cost: import("zod").ZodOptional>; total_amount: import("zod").ZodOptional>; amount_paid: import("zod").ZodOptional>; balance_due: import("zod").ZodOptional>; total_ht: import("zod").ZodOptional>; total_tva: import("zod").ZodOptional>; total_ttc: import("zod").ZodOptional>; montant_ht: import("zod").ZodOptional>; montant_tva: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }, { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }>>; reference: import("zod").ZodOptional>; exercice: import("zod").ZodOptional>; montant_ttc: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; raw_data: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { currency?: string; montant_ttc?: number; billed_services?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; sections_detaillees?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }>; total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; reference?: string; exercice?: string; raw_data?: Record; }, { currency?: string; montant_ttc?: number; billed_services?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; sections_detaillees?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }>; total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; reference?: string; exercice?: string; raw_data?: Record; }>, "many">; }, "strip", import("zod").ZodTypeAny, { page?: number; page_tables?: { currency?: string; montant_ttc?: number; billed_services?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; sections_detaillees?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }>; total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; reference?: string; exercice?: string; raw_data?: Record; }[]; }, { page?: number; page_tables?: { currency?: string; montant_ttc?: number; billed_services?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; sections_detaillees?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }>; total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; reference?: string; exercice?: string; raw_data?: Record; }[]; }>, "many">>; extraction_metadata: import("zod").ZodOptional; fields_found: import("zod").ZodNullable; fields_empty: import("zod").ZodNullable; processing_notes: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { confidence_score?: number; fields_found?: number; fields_empty?: number; processing_notes?: string[]; }, { confidence_score?: number; fields_found?: number; fields_empty?: number; processing_notes?: string[]; }>>; }, "strip", import("zod").ZodTypeAny, { document_info?: { document_type?: string; language?: string; currency?: string; total_pages?: number; }; invoice_details?: { invoice_number?: string; invoice_date?: string; due_date?: string; purchase_order?: string; reference_number?: string; }; seller_info?: { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }; buyer_info?: { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }; line_items?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; financial_totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; payment_info?: { payment_terms?: string; payment_method?: string; payment_due_date?: string; bank_details?: string; iban?: string; swift_code?: string; }; pages?: { page?: number; page_tables?: { currency?: string; montant_ttc?: number; billed_services?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; sections_detaillees?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }>; total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; reference?: string; exercice?: string; raw_data?: Record; }[]; }[]; extraction_metadata?: { confidence_score?: number; fields_found?: number; fields_empty?: number; processing_notes?: string[]; }; }, { document_info?: { document_type?: string; language?: string; currency?: string; total_pages?: number; }; invoice_details?: { invoice_number?: string; invoice_date?: string; due_date?: string; purchase_order?: string; reference_number?: string; }; seller_info?: { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }; buyer_info?: { name?: string; company_name?: string; address?: { street?: string; city?: string; postal_code?: string; country?: string; }; phone?: string; email?: any; website?: string; vat_number?: string; tax_id?: string; }; line_items?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; financial_totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; payment_info?: { payment_terms?: string; payment_method?: string; payment_due_date?: string; bank_details?: string; iban?: string; swift_code?: string; }; pages?: { page?: number; page_tables?: { currency?: string; montant_ttc?: number; billed_services?: { currency?: string; item_number?: string; description?: string; quantity?: number; unit?: string; unit_price?: number; discount?: number; tax_rate?: number; tax_amount?: number; line_total?: number; quantite?: number; prix_unitaire?: number; montant_ht?: number; montant_ttc?: number; taux_tva?: number; montant_tva?: number; }[]; totals?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; sections_detaillees?: Record; sous_total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; }>; total?: { currency?: string; montant_ht?: number; montant_ttc?: number; montant_tva?: number; subtotal?: number; discount_total?: number; tax_total?: number; shipping_cost?: number; total_amount?: number; amount_paid?: number; balance_due?: number; total_ht?: number; total_tva?: number; total_ttc?: number; }; reference?: string; exercice?: string; raw_data?: Record; }[]; }[]; extraction_metadata?: { confidence_score?: number; fields_found?: number; fields_empty?: number; processing_notes?: string[]; }; }>; tables: import("zod").ZodObject<{ detected_tables: import("zod").ZodOptional>; table_type: import("zod").ZodOptional>; headers: import("zod").ZodOptional>; rows: import("zod").ZodOptional, "many">, "many">>; summary: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { table_name?: string; table_type?: string; headers?: string[]; rows?: (string | number)[][]; summary?: string; }, { table_name?: string; table_type?: string; headers?: string[]; rows?: (string | number)[][]; summary?: string; }>, "many">>; extraction_metadata: import("zod").ZodOptional>; confidence_score: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { confidence_score?: number; tables_found?: number; }, { confidence_score?: number; tables_found?: number; }>>; }, "strip", import("zod").ZodTypeAny, { extraction_metadata?: { confidence_score?: number; tables_found?: number; }; detected_tables?: { table_name?: string; table_type?: string; headers?: string[]; rows?: (string | number)[][]; summary?: string; }[]; }, { extraction_metadata?: { confidence_score?: number; tables_found?: number; }; detected_tables?: { table_name?: string; table_type?: string; headers?: string[]; rows?: (string | number)[][]; summary?: string; }[]; }>; receipt: import("zod").ZodObject<{ merchant_name: import("zod").ZodOptional>; transaction_date: import("zod").ZodOptional>; total_amount: import("zod").ZodOptional>; payment_method: import("zod").ZodOptional>; currency: import("zod").ZodOptional>; items: import("zod").ZodOptional>; price: import("zod").ZodOptional>; quantity: import("zod").ZodOptional>; total: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { name?: string; quantity?: number; total?: number; price?: number; }, { name?: string; quantity?: number; total?: number; price?: number; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { currency?: string; payment_method?: string; total_amount?: number; items?: { name?: string; quantity?: number; total?: number; price?: number; }[]; merchant_name?: string; transaction_date?: string; }, { currency?: string; payment_method?: string; total_amount?: number; items?: { name?: string; quantity?: number; total?: number; price?: number; }[]; merchant_name?: string; transaction_date?: string; }>; }; providers: { readonly scaleway: { readonly name: "Scaleway AI"; readonly models: readonly ["mistral-small-3.1-24b-instruct-2503"]; readonly defaultModel: string; }; readonly ollama: { readonly name: "Ollama Local"; readonly models: readonly ["llava:latest", "llava:13b", "llava:34b"]; readonly defaultModel: string; }; readonly mistral: { readonly name: "Mistral AI"; readonly models: readonly ["pixtral-12b-latest", "pixtral-large-latest", "mistral-medium-latest", "mistral-small-latest"]; readonly defaultModel: string; }; readonly custom: { readonly name: "Custom OpenAI-Compatible API"; readonly models: readonly []; readonly defaultModel: string; }; }; }; export default _default;