/** * Extract provider interface — wraps the v1 extraction pipeline behind a * stable interface. * * Note: named ExtractProvider (not Extractor) to avoid collision with the * pre-existing `Extractor` interface in `src/types.ts`, which models a single * site-specific extractor within the v1 pipeline. */ import type { ExtractionResult } from '../types.js'; export interface ExtractProviderOptions { maxChars?: number; section?: string; sectionIndex?: number; contentType?: string; pdfBuffer?: Buffer; } export interface ExtractProvider { extract(html: string, url: string, options?: ExtractProviderOptions): Promise; readonly name: 'legacy' | 'v1'; } export declare function getExtractProvider(): Promise; export declare function _resetExtractProviderForTest(): void; //# sourceMappingURL=extract-provider.d.ts.map