import type { Pluggable } from 'unified';
export declare const contentCache: Map<string, string>;
export declare const addToCache: (key: string, value: string) => void;
export declare const createPlugins: (props: {
    allowHtml?: boolean;
    enableCustomFootnotes?: boolean;
    enableLatex?: boolean;
    isChatMode: boolean;
    rehypePlugins?: Pluggable | Pluggable[];
    remarkPlugins?: Pluggable | Pluggable[];
    remarkPluginsAhead?: Pluggable | Pluggable[];
}) => {
    rehypePluginsList: Pluggable[];
    remarkPluginsList: Pluggable[];
};
export declare function escapeBrackets(text: string): string;
export declare function escapeMhchem(text: string): string;
export declare function fixMarkdownBold(text: string): string;
export declare const transformCitations: (rawContent: string, length?: number) => string;
