import type { BlockConfig, BlockFromConfigNoChildren, Exporter } from "@blocknote/core"; type MathBlock = BlockFromConfigNoChildren, any, any>; type InlineMath = { type: "math"; content: string; }; /** * ODT block mapping for `@blocknote/math-block` that renders math blocks as * native (editable) formula objects. Invalid LaTeX renders an error * placeholder (mirroring the editor): * * ```ts * import { mathBlockMapping } from "@blocknote/math-block/odt-exporter"; * * new ODTExporter(schema, { * ...odtDefaultSchemaMappings, * blockMapping: { * ...odtDefaultSchemaMappings.blockMapping, * mathBlock: mathBlockMapping, * }, * }); * ``` */ export declare function mathBlockMapping(block: MathBlock, exporter: Exporter): import("react").DOMElement, Element> | import("react").ReactElement<{ "text:style-name": string; }, string | import("react").JSXElementConstructor>; /** * ODT inline content mapping for `@blocknote/math-block` that renders inline * math as native (editable) formula objects. Invalid LaTeX renders an error * placeholder (mirroring the editor): * * ```ts * import { inlineMathMapping } from "@blocknote/math-block/odt-exporter"; * * new ODTExporter(schema, { * ...odtDefaultSchemaMappings, * inlineContentMapping: { * ...odtDefaultSchemaMappings.inlineContentMapping, * math: inlineMathMapping, * }, * }); * ``` */ export declare function inlineMathMapping(inlineContent: InlineMath, exporter: Exporter): import("react").DOMElement, Element> | import("react").ReactElement<{ "draw:style-name": string; "text:anchor-type": string; }, string | import("react").JSXElementConstructor> | import("react").ReactElement<{ "text:style-name": string; }, string | import("react").JSXElementConstructor>; export {};