export declare function fixDollarSignMath(content: string): string; export declare function fixMatrix(content: string): string; export declare function normalizeDisplayMath(content: string): string; export declare function normalizeBracketDisplayMath(content: string): string; /** The parts of an mdast node needed to locate literal code in the source. */ interface SourceNode { type: string; position?: { start: { offset?: number; }; end: { offset?: number; }; }; children?: SourceNode[]; } /** * Runs the LaTeX normalizers on Markdown prose only. Code spans and code * blocks located by `parse` keep their exact source, and bracket math or a * matrix environment never pairs across code: an opener that reaches code * before its closer stays literal, so it cannot swallow a later code block. * * `parse` must return an mdast tree with offsets. It may parse a repaired copy * of a streaming prefix (e.g. with a dangling backtick closed); text past the * end of the source is ignored. */ export declare function normalizeLatexOutsideCode(source: string, parse: (markdown: string) => SourceNode): string; export {};