import { type HastPluginDefinition, type MdastPluginDefinition } from "satteri"; import { type RenderOptions } from "typlet"; /** Typlet options, with display mode determined by the Markdown math node. */ export interface TypletMathOptions extends Omit { /** Markdown syntax to render as Typst. Defaults to both. */ syntax?: "math" | "typlet" | "both"; } /** Keep display math out of Astro's code highlighter. Pair with the HAST renderer. */ export declare function prepareTypletMath({ syntax }?: Pick): MdastPluginDefinition; /** Render selected Markdown syntax as Typst. Enable Sätteri's `features.math` for dollar delimiters. */ export declare function renderTypletMath(options?: TypletMathOptions): HastPluginDefinition;