import { type BrowserContext, type Page } from 'playwright'; import type { BrowserCommand, BrowserOptions, CommandResponse, ElementInfo } from './types.js'; export declare class ClaudeBrowser { private browser; private context; private page; private options; constructor(options?: BrowserOptions); launch(): Promise; 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; executeCommand(cmd: BrowserCommand): Promise; } //# sourceMappingURL=browser.d.ts.map