/** Canonical class on typeset math wrappers. Kept here so text-fit can stay MathLive-free. */ export declare const MATH_CLASS = "fika-math"; export declare function htmlHasFikaMath(html: string): boolean; /** Readable stand-in when a math raster has not arrived yet. Never leave a blank chip. */ export declare function latexFallbackText(latex: string): string; /** Fallback box when MathLive is not loaded yet — wide enough to reserve wrap space. */ export declare function estimateInlineMathBox(latex: string, fontSize: number, display: boolean): { width: number; height: number; }; /** * Unstyled MathLive HTML collapses to a sliver (a few px wide, many em tall). * Stretching that box onto the canvas is what turns table snapshots into bars. */ export declare function isPlausibleInlineMathBox(box: { width: number; height: number; }, fontSize: number, estimate: { width: number; height: number; }): boolean;