import { RemoteElement, RemoteElementInfo, RemoteObject } from '../cdp/index.js'; export declare class Element { remote: RemoteElement; value: any; info?: RemoteElementInfo; constructor(remote: RemoteElement, value: any, info?: RemoteElementInfo); get objectId(): string; get description(): string; get page(): import("../cdp/page.js").Page; get executionContext(): import("../cdp/execution-context.js").ExecutionContext; clone(newValue?: any): Element; getInfo(force?: boolean): Promise; evaluateJson(pageFn: (el: any, ...args: any[]) => T | Promise, ...args: any[]): Promise; queryAll(selector: string, optional?: boolean): Promise; queryOne(selector: string, optional?: boolean): Promise; queryXPathAll(expression: string, optional?: boolean): Promise; queryXPathOne(expression: string, optional?: boolean): Promise; parent(optional: boolean): Promise; children(optional?: boolean): Promise; previousSibling(optional: boolean): Promise; nextSibling(optional: boolean): Promise; closest(selector: string, optional?: boolean): Promise; contentDocument(): Promise; shadowRoot(): Promise; assertElement(message: string): Promise; extractElementsWithInfo(obj: RemoteObject): Promise; tooltip(label: string, color?: string): Promise; } //# sourceMappingURL=element.d.ts.map