/// import { iValue } from "./interfaces/ivalue"; import { Link } from "./link"; import { ValuePromise } from "./value-promise"; import { HttpResponse } from "./http/http-response"; import { SyncIteratorBoolCallback, SyncIteratorCallback, SyncMapperCallback, SyncReducerCallback } from "./interfaces/iterator-callbacks"; import { iAssertionIs } from "./interfaces/iassertion-is"; import { PointerClick } from "./interfaces/pointer"; import { JsFunction, KeyValue } from "./interfaces/generic-types"; import { iBounds } from "./interfaces/ibounds"; import { HttpRequestOptions } from "./interfaces/http"; import { GestureOpts, GestureType } from "./interfaces/gesture"; import { iAssertionContext } from "./interfaces/iassertioncontext"; import { iScenario, ScenarioConstructor } from "./interfaces/iscenario"; export declare class Value implements iValue { protected readonly _input: T; readonly context: iAssertionContext; protected _name?: string | undefined; protected readonly _parent: any; protected readonly _highlight: string; protected _sourceCode: string | null; protected _path: string | undefined; protected _tagName: string | undefined; get $(): T; get tagName(): string; get outerHTML(): string; get is(): iAssertionIs; selectOption(value: string | string[]): ValuePromise; pressEnter(): ValuePromise; get length(): iValue; get trim(): iValue; get uppercase(): iValue; get lowercase(): iValue; get first(): iValue; get mid(): iValue; get last(): iValue; get random(): iValue; get string(): iValue; get array(): iValue; get float(): iValue; get int(): iValue; get bool(): iValue; get json(): iValue; get path(): string; get name(): string; get highlight(): string; get parent(): any; get sourceCode(): string; get isFlagpoleValue(): true; constructor(_input: T, context: iAssertionContext, _name?: string | undefined, _parent?: any, _highlight?: string); rename(newName: string): iValue; toArray(): any[]; valueOf(): T; toString(): string; toBoolean(): boolean; toFloat(): number; toInteger(): number; toJSON(): any; toURL(baseUrl?: string | URL): URL; toType(): string; isNullOrUndefined(): boolean; isUndefined(): boolean; isNull(): boolean; isPromise(): boolean; isArray(): boolean; isString(): boolean; isObject(): boolean; isNumber(): boolean; isNumeric(): boolean; isNaN(): boolean; isCookie(): boolean; isRegularExpression(): boolean; isCheerioElement(): boolean; isPuppeteerElement(): boolean; hasProperty(key: string, value: any): Promise; hasValue(value: any): Promise; getProperty(key: string): ValuePromise; click(opts: PointerClick): ValuePromise; submit(): ValuePromise; open(scenario: iScenario): iScenario; open(title: string, type?: ScenarioConstructor): iScenario; isVisible(): Promise; isHidden(): Promise; isTag(...tagNames: string[]): boolean; getLink(): Promise; getUrl(): ValuePromise; fillForm(attributeName: string, formData: KeyValue): ValuePromise; fillForm(formData: KeyValue): ValuePromise; exists(selector?: string): ValuePromise; find(selector: string): ValuePromise; findAll(selector: string): Promise[]>; getClassName(): ValuePromise; hasClassName(name?: string | RegExp): Promise; getTag(): ValuePromise; hasTag(tag?: string | RegExp): Promise; getInnerText(): ValuePromise; getInnerHtml(): ValuePromise; getOuterHtml(): ValuePromise; hasAttribute(key: string, value?: string | RegExp): Promise; getAttribute(key: string): ValuePromise; getStyleProperty(key: string): ValuePromise; getValue(): ValuePromise; scrollTo(): ValuePromise; hasText(text?: string): Promise; getText(): ValuePromise; get values(): iValue; get keys(): iValue; screenshot(): Promise; eval(js: string): Promise; focus(): ValuePromise; hover(): ValuePromise; blur(): ValuePromise; tap(opts: PointerClick): ValuePromise; longpress(opts: PointerClick): ValuePromise; press(key: string, opts?: any): ValuePromise; clearThenType(textToType: string, opts?: any): ValuePromise; type(textToType: string, opts?: any): ValuePromise; clear(): ValuePromise; getAncestor(selector: string): ValuePromise; getChildren(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[]>; 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; download(): Promise; download(localFilePath: string): Promise; download(localFilePath: string, opts: HttpRequestOptions): Promise; download(opts: HttpRequestOptions): Promise; waitForFunction(js: JsFunction): ValuePromise; waitForHidden(): ValuePromise; waitForVisible(): ValuePromise; setValue(text: string): ValuePromise; assert(message?: string): import("./interfaces/iassertion").iAssertion; split(by: string | RegExp, limit?: number): iValue; join(by: string): iValue; pluck(property: string): iValue; nth(index: number): iValue; map(callback: SyncMapperCallback): iValue; filter(func: (value: any, i?: number, arr?: any[]) => boolean): iValue; each(callback: SyncIteratorCallback): this; min(key?: string): iValue; max(key?: string): iValue; sum(key?: string): iValue; count(key?: string): iValue; unique(): iValue; groupBy(key: string): iValue<{ [key: string]: any[]; }>; asc(key?: string): iValue; desc(key?: string): iValue; median(key?: string): iValue; avg(key?: string): iValue; reduce(callback: SyncReducerCallback, initial?: any): iValue; every(callback: SyncIteratorBoolCallback): iValue; some(callback: SyncIteratorBoolCallback): iValue; none(callback: SyncIteratorBoolCallback): iValue; item(key: string | number): iValue; echo(callback?: (str: string) => void): this; col(key: string | string[]): iValue; gesture(type: GestureType, opts: GestureOpts): ValuePromise; protected _completedAction(verb: string, noun?: string): Promise; protected _failedAction(verb: string, noun?: string): Promise; protected _wrapAsValue(data: T, name: string, parent?: any, highlight?: string): iValue; protected _wrapAsValuePromise(data: T, name: string, parent?: any, highlight?: string): ValuePromise; }