import { JSHandle, Locator, Page } from "@playwright/test"; type Target = string | null; type EventType = string; type EventDetail = any; type EventLog = [EventType, EventDetail, Target]; type MutationAttributeName = string; type MutationAttributeValue = string | null; type MutationLog = [MutationAttributeName, Target, MutationAttributeValue]; type BodyHTML = string; type BodyMutationLog = [BodyHTML]; export declare function attributeForSelector(page: Page, selector: string, attributeName: string): Promise; type CancellableEvent = "turbo:click" | "turbo:before-visit"; export declare function cancelNextEvent(page: Page, eventName: CancellableEvent): Promise; export declare function clickWithoutScrolling(page: Page, selector: string, options?: {}): Promise; export declare function clearLocalStorage(page: Page): Promise; export declare function disposeAll(...handles: JSHandle[]): Promise; export declare function getFromLocalStorage(page: Page, key: string): Promise; export declare function getSearchParam(url: string, key: string): string | null; export declare function hash(url: string): string; export declare function hasSelector(page: Page, selector: string): Promise; export declare function innerHTMLForSelector(page: Page, selector: string): Promise; export declare function isScrolledToSelector(page: Page, selector: string): Promise; export declare function nextBeat(): Promise; export declare function nextBody(_page: Page, timeout?: number): Promise; export declare function nextEventNamed(page: Page, eventName: string): Promise; export declare function nextEventOnTarget(page: Page, elementId: string, eventName: string): Promise; export declare function listenForEventOnTarget(page: Page, elementId: string, eventName: string): Promise; export declare function nextBodyMutation(page: Page): Promise; export declare function noNextBodyMutation(page: Page): Promise; export declare function nextAttributeMutationNamed(page: Page, elementId: string, attributeName: string): Promise; export declare function noNextAttributeMutationNamed(page: Page, elementId: string, attributeName: string): Promise; export declare function noNextEventNamed(page: Page, eventName: string): Promise; export declare function noNextEventOnTarget(page: Page, elementId: string, eventName: string): Promise; export declare function outerHTMLForSelector(page: Page, selector: string): Promise; export declare function pathname(url: string): string; export declare function pathnameForIFrame(page: Page, name: string): Promise; export declare function propertyForSelector(page: Page, selector: string, propertyName: string): Promise; export declare function readBodyMutationLogs(page: Page, length?: number): Promise; export declare function readEventLogs(page: Page, length?: number): Promise; export declare function readMutationLogs(page: Page, length?: number): Promise; export declare function search(url: string): string; export declare function searchParams(url: string): URLSearchParams; export declare function selectorHasFocus(page: Page, selector: string): Promise; export declare function setLocalStorageFromEvent(page: Page, eventName: string, storageKey: string, storageValue: string): Promise; export declare function scrollPosition(page: Page): Promise<{ x: number; y: number; }>; export declare function isScrolledToTop(page: Page): Promise; export declare function scrollToSelector(page: Page, selector: string): Promise; export declare function sleep(timeout?: number): Promise; export declare function strictElementEquals(left: Locator, right: Locator): Promise; export declare function textContent(page: Page, html: string): Promise; export declare function visitAction(page: Page): Promise; export declare function waitForPathname(page: Page, pathname: string): Promise; export declare function waitUntilText(page: Page, text: string, state?: "visible" | "attached"): Promise>; export declare function waitUntilSelector(page: Page, selector: string, state?: "visible" | "attached"): Promise>; export declare function waitUntilNoSelector(page: Page, selector: string, state?: "hidden" | "detached"): Promise | null>; export declare function willChangeBody(page: Page, callback: () => Promise): Promise; export {};