export type DiagramInput = {
    type: DiagramType;
    source: string;
};
type DiagramType = 'mermaid' | 'excalidraw' | 'plantuml';
type DiagramHtmlVariants = {
    light: string;
    dark: string;
    error?: string;
};
export declare const cache: Record<string, DiagramHtmlVariants>;
export declare function generateDiagramHash(source: string, type?: DiagramType): string;
export declare function renderDiagramsWithVariants(diagrams: DiagramInput[]): Promise<DiagramHtmlVariants[]>;
export declare function renderDiagrams(diagrams: DiagramInput[], theme?: string): Promise<string[]>;
export {};
//# sourceMappingURL=render-diagrams.d.ts.map