import { KatexOptions } from 'katex'; type CSSProperties = Record; /** * Basic options for rendering math equations with mathsnap */ export interface MathOptions { /** The LaTeX equation to render */ equation: string; /** Whether to render in display mode (centered, block) or inline mode */ displayMode?: boolean; /** Custom class name to add to the math container */ className?: string; /** Custom inline styles for the container */ style?: CSSProperties; /** Error callback when rendering fails */ onError?: (error: Error) => void; /** Additional KaTeX options */ katexOptions?: Omit; } /** * Predefined equations that can be used with mathsnap */ export declare const equations: { /** Quadratic formula */ quadratic: string; /** Einstein's mass-energy equivalence */ einstein: string; /** Pythagorean theorem */ pythagorean: string; /** Euler's identity */ euler: string; /** Area of a circle */ circleArea: string; /** Normal distribution */ normalDistribution: string; /** Derivative definition */ derivative: string; /** Integral definition */ integral: string; /** Maxwell's equations (divergence of E) */ maxwellDivergenceE: string; /** Schrödinger equation */ schrodinger: string; }; /** Error state for math rendering */ export interface MathError { hasError: boolean; message: string; } export {};