import { type BrowserContext, type Page } from 'playwright'; import type { BrowserCommand, BrowserOptions, CommandResponse, ConsoleMessage, ElementInfo, NetworkEntry } from './types.js'; export declare class ClaudeBrowser { private browser; private context; private page; private options; private consoleMessages; private networkEntries; private interceptPatterns; constructor(options?: BrowserOptions); launch(): Promise; private setupConsoleListener; private setupNetworkListener; close(): Promise; private ensurePage; /** Get the current page instance (for advanced usage) */ getPage(): Page | null; /** Get the browser context (for advanced usage like cookies) */ getContext(): BrowserContext | null; goto(url: string): Promise<{ url: string; title: string; }>; click(selector: string): Promise<{ url: string; }>; type(selector: string, text: string): Promise; query(selector: string): Promise; screenshot(path?: string, fullPage?: boolean): Promise<{ path: string; buffer?: Buffer; }>; getUrl(): Promise<{ url: string; title: string; }>; getHtml(full?: boolean): Promise; back(): Promise<{ url: string; }>; forward(): Promise<{ url: string; }>; reload(): Promise<{ url: string; }>; wait(ms?: number): Promise; newPage(): Promise; eval(script: string): Promise; getConsole(level?: string, clear?: boolean): ConsoleMessage[]; clearConsole(): void; getNetwork(filter?: string, clear?: boolean): NetworkEntry[]; clearNetwork(): void; addIntercept(pattern: string, action: 'block' | 'mock', response?: { status?: number; body?: string; contentType?: string; }): Promise; clearIntercepts(): Promise; getInterceptPatterns(): string[]; executeCommand(cmd: BrowserCommand): Promise; } //# sourceMappingURL=browser.d.ts.map