import type TurndownServiceCtor from 'turndown'; /** * Shared, lazily-created Turndown instance for HTML→Markdown conversion. * * `turndown` costs ~33 ms to import and both `fetch` and `read_url_content` * used to build their own instance at module scope. Those tools are re-exported * from the `@wrongstack/tools` barrel, so every process that loaded tools paid * for an HTML converter it usually never ran — and paid twice, since the two * modules kept identical copies of the same configuration. * * The configuration below is that shared copy, unchanged; only the moment it is * built moves, to the first actual conversion. */ type Turndown = TurndownServiceCtor; /** The shared converter, built on first use and reused afterwards. */ export declare function getTurndown(): Promise; export {}; //# sourceMappingURL=_turndown.d.ts.map