import type { StudioBrowserActionRequest, StudioBrowserActionResult, StudioBrowserSession, StudioBrowserStatus } from "./types.js"; interface PlaywrightPage { url(): string; goto(url: string, options?: Record): Promise; title(): Promise; content(): Promise; screenshot(options: { path: string; fullPage?: boolean; }): Promise; click(selector: string): Promise; fill(selector: string, text: string): Promise; close(): Promise; } interface PlaywrightBrowser { newPage(): Promise; close(): Promise; } interface PlaywrightModule { chromium: { launch(options?: Record): Promise; }; } type PlaywrightLoader = () => Promise; export interface StudioBrowserAdapterOptions { projectRoot: string; playwrightLoader?: PlaywrightLoader; } export declare class StudioBrowserAdapter { private readonly projectRoot; private readonly playwrightLoader; private readonly sessions; constructor(options: StudioBrowserAdapterOptions); status(enabled?: boolean): Promise; createSession(input?: { url?: string | null; }): Promise; runAction(request: StudioBrowserActionRequest): Promise; closeAll(): Promise; private navigateExistingSession; private getRecord; private result; private touch; private canLoadPlaywright; private loadPlaywrightOrThrow; } export {};