import type { Page as PlaywrightPage, Locator, Frame, Response, BrowserContext } from '@playwright/test'; import type { WebViewSession } from '@mobilewright/protocol'; import type { StepFn } from './locator.js'; type UrlPredicate = (url: URL) => boolean; export declare class MobileWebViewPage { readonly session: WebViewSession; _stepFn: StepFn | null; private _url; private readonly _frame; static attach(session: WebViewSession): Promise; constructor(session: WebViewSession); private injectEngine; private settleAndInject; private locatorFor; private _step; locator(selector: string): Locator; getByRole(role: string, opts?: { name?: string | RegExp; exact?: boolean; }): Locator; getByText(text: string | RegExp, opts?: { exact?: boolean; }): Locator; getByLabel(label: string | RegExp, opts?: { exact?: boolean; }): Locator; getByPlaceholder(text: string | RegExp, opts?: { exact?: boolean; }): Locator; getByTestId(testId: string): Locator; getByAltText(text: string | RegExp): Locator; getByTitle(text: string | RegExp): Locator; url(): string; title(): Promise; mainFrame(): Frame; context(): BrowserContext; goto(url: string): Promise; reload(): Promise; goBack(): Promise; goForward(): Promise; evaluate: PlaywrightPage["evaluate"]; waitForURL(url: string | RegExp | UrlPredicate, opts?: { timeout?: number; }): Promise; waitForLoadState(state?: 'load' | 'domcontentloaded' | 'networkidle'): Promise; content(): Promise; close(): Promise; } export interface MobileWebViewPage extends PlaywrightPage { } export { MobileWebViewPage as Page }; //# sourceMappingURL=page.d.ts.map