import { Browser } from 'playwright-core'; import { MermaidBlock } from './detector.js'; import { MermaidTheme } from './theme-map.js'; export interface RenderedMermaid { id: string; svgHtml: string; } export declare function renderMermaidBlocks(browser: Browser, blocks: MermaidBlock[], warnings: string[], md2pdfTheme?: string, globalMermaidTheme?: MermaidTheme, themeVariables?: Record, timeoutMs?: number, maxWidth?: string, maxHeight?: string, sharedMermaidPage?: import('playwright-core').Page): Promise;