import type { AstroIntegration } from "astro"; import { type TypletMathOptions } from "./satteri.js"; export interface AstroTypletOptions extends TypletMathOptions { /** Load the browser script that copies formulas as Typst source. Defaults to false. */ copyTypst?: boolean; } /** Configure Typlet math rendering and load its styles in Astro. */ export default function typlet(options?: AstroTypletOptions): AstroIntegration;