import type { Page } from '@playwright/test'; interface NavigateOptions { selector: string; } export declare class PfeDemoPage { readonly page: Page; readonly tagName: string; readonly workspace: string; private origin; constructor(page: Page, tagName?: string, workspace?: string); navigate({ selector }?: NavigateOptions): Promise; navigate(pathname?: string): Promise; /** * Focus the first instance of the element, or a given selector, * then wait for the element's updateComplete * @param [selector=this.tagName] */ focus(selector?: string): Promise; /** * Click the first instance of the element, or a given selector, * then wait for the element's updateComplete * @param [selector=this.tagName] */ click(selector?: string): Promise; /** * Wait for the element, or a given selector, to update * @param [selector=this.tagName] */ updateComplete(selector?: string): Promise; /** * Take a snapshot and save it to disk * @param name optional snapshot name */ snapshot(name?: string): Promise; } export {};