/** Re-exported under a component-scoped name -- what ``'s `math` option needs from * the optional `katex` peer (`renderToString(tex, options)`). */ export interface KatexApi{renderToString(tex:string,options?:Record):string;} /** * Loads the optional peer dependency `katex`, used by ``'s `math` property to * render `$...$`/`$$...$$` TeX as MathML. Resolves `null` with a one-time development diagnostic * if the peer isn't installed -- rendering falls back to the literal, unparsed TeX source in that * case, a fully supported default rather than a degraded mode. Mirrors `dompurify-loader.ts`'s * single-optional-peer shape. */ export declare function loadKatex(importKatex?:()=>Promise):Promise; /** * Lazily loads `katex` once per page, caching the resolved module (or `null`) across every * `` instance -- mirrors `markdown-loader.ts`'s `loadMarkdownDeps()`/ * `getMarkdownDepsIfLoaded()` cached-promise shape for a single optional peer. */ export declare function getKatex(importKatex?:()=>Promise):Promise;