export type MermaidStreamingPlaceholderResult = {
    text: string;
    hasUnclosedMermaidFence: boolean;
};
export declare function hasUnclosedMermaidFence(md: string): boolean;
export declare function replaceUnclosedMermaidWithPlaceholder(md: string): string;
export declare function applyMermaidStreamingPlaceholder(md: string): MermaidStreamingPlaceholderResult;
export declare function replaceLastClosedMermaidBlockWithPlaceholder(md: string): string;
export declare function replaceAllClosedMermaidBlocksWithPlaceholder(md: string): string;
//# sourceMappingURL=mermaidStreamingPlaceholder.d.ts.map