File size: 650 Bytes
f56a29b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /**
* PDF Parsing Provider Type Definitions
*/
/**
* PDF Provider IDs
*/
export type PDFProviderId = 'unpdf' | 'mineru' | 'mineru-cloud';
/**
* PDF Provider Configuration
*/
export interface PDFProviderConfig {
id: PDFProviderId;
name: string;
requiresApiKey: boolean;
baseUrl?: string;
icon?: string;
features: string[]; // ['text', 'images', 'tables', 'formulas', 'layout-analysis', etc.]
}
/**
* PDF Parser Configuration for API calls
*/
export interface PDFParserConfig {
providerId: PDFProviderId;
apiKey?: string;
baseUrl?: string;
}
// Note: ParsedPdfContent is imported from @/lib/types/pdf to avoid duplication
|