import { ElementHandle } from "puppeteer"; export declare function e2eTest(html: string): Promise; export declare function isFocused(element: ElementHandle): Promise; export declare const getAttribute: (element: ElementHandle, attribute: string) => Promise; export declare const getProperty: (element: ElementHandle, property: keyof T) => Promise; export declare class EventSpy implements EventSpy { eventName: string; events: Event[]; private cursor; private queuedHandler; constructor(eventName: string); get length(): number; get firstEvent(): Event; get lastEvent(): Event; next(): Promise<{ done: boolean; value: Event; }>; push(ev: Event): void; } export declare function addE2EListener(elementHandle: ElementHandle, eventName: string, callback: (ev: any) => void): Promise; export declare function spyOnEvent(elementHandle: ElementHandle, eventName: string): Promise;