import { MathOptions, MathError } from './types'; /** * Renders a LaTeX math equation to HTML string using KaTeX * * @param options - The rendering options * @returns The rendered HTML string */ export declare function renderMath(options: MathOptions): { html: string; error: MathError; }; /** * Checks if a string is a valid LaTeX equation * * @param equation - The equation to validate * @returns Whether the equation is valid */ export declare function isValidEquation(equation: string): boolean; /** * Sanitizes an equation input to prevent code injection * * @param equation - The input equation * @returns The sanitized equation */ export declare function sanitizeEquation(equation: string): string;