import { Page, ElementHandle } from 'playwright'; export interface WaitOptions { timeout?: number; state?: 'attached' | 'detached' | 'visible' | 'hidden'; } export interface ElementInfo { text: string; value: string; tagName: string; id: string; className: string; isVisible: boolean; isDisabled: boolean; href?: string | null; type?: string; placeholder?: string; [key: string]: any; } /** * Wait for an element to appear on the page */ export declare function waitForElement(page: Page, selector: string, options?: WaitOptions): Promise; /** * Check if an element is visible on the page */ export declare function isElementVisible(page: Page, selector: string): Promise; /** * Get comprehensive information about an element */ export declare function getElementInfo(page: Page, selector: string): Promise;