export type OutputFormat = "text" | "markdown" | "html" | "json"; export declare class ContentConversionError extends Error { constructor(message: string); } /** * Convert fetched content into the requested output format. * * - html: returns the raw body as-is. * - json: parses JSON and returns stable two-space pretty-printed JSON. * - text: strips scripts, styles, iframes, etc. and returns plain visible text. * - markdown: converts HTML to Markdown using turndown when available, * with a cheerio-based fallback for headings, lists, links, and code. */ export declare function convertContent(content: string, format: OutputFormat): Promise; //# sourceMappingURL=parser.d.ts.map