type EmitResult = (event: string, cmdId: string, payload: Record) => void; /** * SSRF guard for `fileUrl` - byte-for-byte mirror of the backend rule in * `cv-parse.service.ts` (http(s) only, never a loopback/private/link-local * host). Uploaded CVs live on Cloudinary, so this is permissive enough for * real uploads without opening a local fetch hole. */ export declare function assertFetchableUrl(raw: string): URL; /** Fetch + extract readable text from an uploaded CV (SSRF + 15 MB caps). */ export declare function extractFromUrl(fileUrl: string): Promise; /** * Handles `orchestrator:cv-parse`: `{ fileUrl } | { text }` -> * `orchestrator:cv-parse-result { success, text, result }`. * `result` is the deterministic parse of `text` (may be null - the backend * still runs its own LLM quick call and fallback on the returned text). */ export declare function handleCvParse(data: Record, emit: EmitResult): Promise; export {};