import CDP from "chrome-remote-interface"; import type { Config } from "../../config/loader.js"; export interface OfficeParseOptions { /** URL to a remote document (PDF, XLSX, DOCX, CSV). Fetched in-browser using the user's active cookies. */ url?: string; /** Exact filename from the local downloads directory (legacy mode). */ filename?: string; max_rows?: number; max_chars?: number; } export interface OfficeParseResult { success: boolean; source: string; type: string; content?: string; data?: any; error?: string; truncated?: boolean; } export declare function browserOfficeParse(session: CDP.Client, options: OfficeParseOptions, config: Config): Promise;