/// import * as react from 'react'; interface MathProps { /** * LaTeX math expression to render. * e.g. "\\frac{1}{2}" or "E = mc^2" */ children: string; /** * Whether to render in inline mode (compact) instead of display mode (centered, larger). * @default false */ inline?: boolean; /** * Width of the SVG element. If not provided, the SVG width is left undefined */ width?: number | string; /** * Height of the SVG element. If not provided, the SVG height is left undefined */ height?: number | string; /** * Color for the math expression. * @default "black" */ color?: string; /** * Adds a visible border around the SVG element for debugging layout. * @default false */ debug?: boolean; } /** * Renders a LaTeX math expression as SVG in a react-pdf document. * * @example * ```tsx * {"\\int_0^\\infty e^{-x^2} dx"} * ``` */ declare const Math: ({ children, inline, width, height, color, debug, }: MathProps) => react.ReactElement>; export { Math };