/** * BrowserFetcher - renders JS-heavy pages using a headless Playwright browser. * * Playwright is an optional peer dependency. * Install: npm install playwright && npx playwright install chromium */ import type { WatchConfig } from "../models.js"; export declare class BrowserFetcher { /** * Launch a headless Chromium browser, navigate to the URL and return the * fully-rendered HTML (after JavaScript execution). * * @throws FetchError if playwright is not installed or navigation fails */ fetch(config: WatchConfig): Promise; screenshot(config: WatchConfig): Promise; private loadChromium; } //# sourceMappingURL=browser.d.ts.map