import { type Page } from "playwright"; /** Launch browser and navigate to a URL. Returns the page. */ export declare function launchBrowser(url: string, options?: { headless?: boolean; viewport?: { width: number; height: number; }; }): Promise; /** Get the current active page. Throws if no browser session. */ export declare function getPage(): Page; /** Check if a browser session is active */ export declare function isSessionActive(): boolean; /** Take a screenshot of the current page. Returns base64 PNG. */ export declare function takeScreenshot(): Promise<{ base64: string; mimeType: string; pageTitle: string; pageUrl: string; }>; /** Close the browser and clean up all resources. */ export declare function closeBrowser(): Promise; //# sourceMappingURL=browser-session.d.ts.map