/// import { PuppeteerElement } from "./puppeteer-element"; import { iValue } from "../interfaces/ivalue"; import { ElementHandle } from "puppeteer-core"; import { ValuePromise } from "../value-promise"; import { iBounds } from "../interfaces/ibounds"; import { KeyValue } from "../interfaces/generic-types"; import { ScreenshotOpts } from "../interfaces/screenshot"; import { iAssertionContext } from "../interfaces/iassertioncontext"; export declare class BrowserElement extends PuppeteerElement implements iValue { protected _input: ElementHandle; get $(): ElementHandle; static create(input: ElementHandle, context: iAssertionContext, name: string, path?: string): Promise; protected constructor(input: ElementHandle, context: iAssertionContext, name: string, path?: string); find(selector: string): ValuePromise; findAll(selector: string): Promise; getAncestors(selector: string): Promise; getAncestorOrSelf(selector: string): ValuePromise; getFirstChild(selector?: string): ValuePromise; getLastChild(selector?: string): ValuePromise; getFirstSibling(selector?: string): ValuePromise; getLastSibling(selector?: string): ValuePromise; getChildOrSelf(selector?: string): ValuePromise; getDescendantOrSelf(selector?: string): ValuePromise; getDescendants(selector?: string): Promise; getAncestor(selector?: string): ValuePromise; getChildren(selector?: string): Promise; getParent(): ValuePromise; getSiblings(selector?: string): Promise; getPreviousSibling(selector?: string): ValuePromise; getPreviousSiblings(selector?: string): Promise; getNextSibling(selector?: string): ValuePromise; getNextSiblings(selector?: string): Promise; getBounds(boxType?: string): Promise; focus(): ValuePromise; blur(): ValuePromise; hover(): ValuePromise; tap(): ValuePromise; press(key: string, opts?: any): ValuePromise; type(textToType: string, opts?: any): ValuePromise; clear(): ValuePromise; fillForm(attributeName: string, formData: KeyValue): ValuePromise; fillForm(formData: KeyValue): ValuePromise; submit(): ValuePromise; click(): ValuePromise; screenshot(): Promise; screenshot(localFilePath: string): Promise; screenshot(localFilePath: string, opts: ScreenshotOpts): Promise; screenshot(opts: ScreenshotOpts): Promise; selectOption(valuesToSelect: string | string[]): ValuePromise; pressEnter(): ValuePromise; scrollTo(): ValuePromise; isHidden(): Promise; isVisible(): Promise; protected _getInnerText(): Promise; protected _getInnerHtml(): Promise; protected _getOuterHtml(): Promise; protected _getValue(): Promise; protected _getText(): Promise; protected _getClassName(): Promise; protected _getTagName(): Promise; protected _getAttribute(key: string): Promise; protected _isPasswordField(): Promise; protected _elementHandlesToFirstValue(elements: ElementHandle[], name: string, path: string): ValuePromise; protected _elementHandlesToValueArray(elements: ElementHandle[], name: string, path: string): Promise[]>; protected _xQuery(prefix: string, selector?: string, suffix?: string): Promise[]>; }