/// import { Schema } from "ajv"; import { IteratorBoolCallback, IteratorCallback } from "../interfaces/iterator-callbacks"; import { iAssertion } from "../interfaces/iassertion"; import { iAssertionIs } from "../interfaces/iassertion-is"; import { iAssertionResult } from "../interfaces/iassertion-result"; import { iAssertionContext } from "../interfaces/iassertioncontext"; import { CompareCallback, JsFunction } from "../interfaces/generic-types"; import { AssertSchemaType } from "../interfaces/schema"; export declare class Assertion implements iAssertion { get value(): any; get text(): string; get subject(): string; get is(): iAssertionIs; get and(): iAssertion; get type(): iAssertion; get length(): iAssertion; get trim(): iAssertion; get keys(): iAssertion; get values(): iAssertion; get not(): iAssertion; get optional(): iAssertion; get result(): Promise; get assertionMade(): boolean; get isFinalized(): boolean; get name(): string; get passed(): boolean | null; private get isFlagpoleValue(); private get context(); private _context; private _input; private _message; private _not; private _optional; private _result; private _finishedPromise; private _finishedResolver; private _statement; private _assertionMade; private _defaultMessages; static create(context: iAssertionContext, thisValue: any, message?: string): Promise; constructor(context: iAssertionContext, thisValue: any, message?: string | null); visible(): Promise; hidden(): Promise; hasValue(value: any): Promise; hasProperty(key: string, value?: string): Promise; hasAttribute(key: string, value?: string): Promise; hasClassName(key: string, value?: string): Promise; hasData(key: string, value?: string): Promise; hasText(text: string): Promise; hasTag(tagName?: string): Promise; exactly(value: any): iAssertion; equals(value: any): iAssertion; like(value: any): iAssertion; greaterThan(value: any): iAssertion; greaterThanOrEquals(value: any): iAssertion; lessThan(value: any): iAssertion; lessThanOrEquals(value: any): iAssertion; between(min: any, max: any): iAssertion; matches(value: string | RegExp): iAssertion; in(values: any[]): iAssertion; includes(value: any): iAssertion; contains(value: any): iAssertion; looksLike(controlImage: string | Buffer, allowedDifference?: number | string): iAssertion; startsWith(value: any): iAssertion; endsWith(value: any): iAssertion; exists(): iAssertion; resolves(continueOnReject?: boolean): Promise; rejects(continueOnReject?: boolean): Promise; none(callback: IteratorBoolCallback): Promise; eval(js: JsFunction, ...args: any[]): Promise; evalEvery(js: JsFunction, ...args: any[]): Promise; every(callback: IteratorBoolCallback): Promise; everySync(callback: IteratorCallback): iAssertion; map(callback: IteratorCallback): Promise; some(callback: IteratorBoolCallback): Promise; pluck(property: string): Assertion; nth(n: number): Assertion; schema(schemaName: string, useJsonSchema: boolean): Promise; schema(schema: string, schemaType?: AssertSchemaType): Promise; schema(schema: Schema, schemaType?: AssertSchemaType): Promise; assert(message: string, value: any): iAssertion; assert(value: any): iAssertion; comment(input: any): iAssertion; as(aliasName: string): iAssertion; execute(bool: boolean, actualValue: any, highlightText?: string | null, expectedValue?: string): iAssertion; setDefaultMessage(message: string): iAssertion; setDefaultNotMessage(message: string): iAssertion; setDefaultMessages(notMessage: string, standardMessage: string): iAssertion; sort(compareFunc?: CompareCallback): iAssertion; private _mustBeArray; private _executeSchema; private _getMessage; private _getSourceCode; private _getHighlightText; private _getErrorDetails; private _getValues; private _getCompareValue; private _getName; protected _is(method: string, item?: any): Promise; protected _hasKeyValue(method: string, key: string, value?: any, item?: any): Promise; private _thisOrThat; protected _hasValue(method: string, value?: any, item?: any): Promise; protected _clone(value: any, name: string): Assertion; }