import type { PageState } from "./page.js"; export interface Browser { readonly open: (url?: string) => Promise; readonly snapshot: () => Promise; readonly click: (ref: string) => Promise; readonly fill: (ref: string, text: string, submit?: boolean) => Promise; readonly press: (combo: string) => Promise; readonly text: () => Promise; readonly screenshot: () => Promise; readonly tabs: () => Promise<{ readonly id: string; readonly title: string; readonly url: string; readonly active: boolean; }[]>; readonly selectTab: (id: string) => Promise; readonly settleAfterAction: () => Promise; readonly disconnect: () => Promise; } export declare class BrowserError extends Error { readonly hint: string | undefined; constructor(message: string, hint?: string); } //# sourceMappingURL=types.d.ts.map