import { type Lookup } from "./ssrf-protection.ts"; export interface EndpointPDFExtractOptions { maxPages: number; signal?: AbortSignal; timeoutMs?: number; lookup?: Lookup; } export interface EndpointPDFExtractResult { markdown: string; pages?: number; } /** * Null means the provider is not configured. Trailing slashes are stripped so the * relative `jobs/` poll URL resolves beside the parse path. */ export declare function getEndpointUrl(): string | null; export declare function isEndpointApiAvailable(): boolean; /** * POST the PDF as multipart `file`. A `{ markdown }` answer completes at once; a * `{ job_id }` answer is polled at `jobs/{id}` until `done`, `error`, or the deadline. */ export declare function extractPDFViaEndpoint(buffer: ArrayBuffer, options: EndpointPDFExtractOptions): Promise;