/**
 * Rehype elements with katex
 *
 * @param {KatexDelimiters} delimiters
 *   Katex delimiters.
 * @returns
 *   Transform.
 */
export function rehypeKatex(delimiters: KatexDelimiters): (tree: Root) => void;
/**
 * Render elements with a `language-latex|katex|asciimath`.
 *
 * @returns
 *   Transform.
 */
export function renderKatex(): (tree: HTMLElement, options?: import("katex").KatexOptions) => void;
/**
 * Render to html string.
 */
export type RenderCallback = (code: string) => string;
export type Root = import("hast").Root;
export type Text = import("hast").Text;
export type Element = import("hast").Element;
export type KatexDelimiter = import("../index").KatexDelimiter;
export type MathDelimiters = import("../index").MathDelimiters;
export type KatexDelimiters = import("../index").KatexDelimiters;
