/** * Local Playwright Renderer * * Fallback renderer that uses local Playwright chromium when: * - VISUS_RENDERER_URL is not set (no Lambda available) * - Native fetch() fails with SSL or network errors * * This ensures robust web rendering even in environments with SSL issues * (e.g., macOS subprocess environments). */ import type { BrowserRenderResult, Result } from '../types.js'; /** * Fetch and render a web page using local Playwright chromium * * @param url - The URL to fetch * @param timeoutMs - Request timeout in milliseconds * @returns Result containing the page HTML and metadata */ export declare function fetchWithPlaywright(url: string, timeoutMs: number): Promise>; /** * Close the browser instance and clean up resources * Call this when shutting down the MCP server */ export declare function closeBrowser(): Promise; //# sourceMappingURL=local-renderer.d.ts.map