import { BlockNoteEditor, Exporter } from "@blocknote/core"; import { en } from "./locales/en.js"; export type MathDictionary = typeof en; /** * Returns the Math dictionary for the editor. The Math block/inline content are * localized by merging a `math` dictionary into the editor's dictionary (see * the exported `locales`); when the host hasn't provided one, the bundled * English strings are used, so the blocks work without extra setup. */ export declare function getMathDictionary(editor: BlockNoteEditor): MathDictionary; /** * Returns the Math exporter strings. Exporters are localized independently * of an editor: the host passes a dictionary to the exporter's options * (see `ExporterOptions.dictionary`), and the math strings are read from * its `math` section - the same shape merged into editor dictionaries - * falling back to the bundled English strings. */ export declare function getMathExporterDictionary(exporter: Exporter): MathDictionary["exporter"];