/** * Math Renderer Component * Renders LaTeX equations using KaTeX */ export interface MathRendererOptions { container: HTMLElement | string; displayMode?: boolean; throwOnError?: boolean; errorColor?: string; macros?: Record; } export declare class MathRenderer { private container; private options; constructor(options: MathRendererOptions); private init; /** * Render the LaTeX equation */ render(latex?: string): void; /** * Update the equation */ update(latex: string): void; /** * Destroy the renderer */ destroy(): void; } /** * Render all math elements in the document */ export declare function renderAllMath(options?: { inlineSelector?: string; displaySelector?: string; }): void;