import { Browser } from 'playwright-core'; import { MermaidBlock } from '../plugins/mermaid/index.js'; import { MermaidTheme } from '../plugins/mermaid/theme-map.js'; export declare function processBeforeRender(html: string, browser: Browser, mermaidBlocks: MermaidBlock[], warnings: string[], options?: { theme?: string; globalMermaidTheme?: MermaidTheme; themeVariables?: Record; timeout?: number; mermaidEnabled?: boolean; maxWidth?: string; maxHeight?: string; sharedMermaidPage?: any; registry?: import('../plugins/registry.js').PluginRegistry; ctx?: import('../types/context.js').RenderContext; }): Promise;