/** * The class can be used to build ChaiJS BDD style assertions that can be * asserted against a running application from a WebDriverJS test. It supports * a subset of assertions specified in the following documentation: * {@link https://www.chaijs.com/api/bdd/}. * * The following assertions are currently not supported: * instanceof, throw, respondTo, satisfy, itself, change, increase, decrease, by * */ declare class Expectation { assertion: { expression: string; chain: any[]; }; /** * Create an Expectation to be evaluated on the client against the underlying * data model. * @param expression An expression statement to be evaluated for this Expectation * against the underlying viewmodel/page var */ constructor(expression: string); chainGetter(name: string): Expectation; chainFunction(name: string, ...args: any[]): Expectation; get to(): Expectation; get be(): Expectation; get been(): Expectation; get is(): Expectation; get that(): Expectation; get which(): Expectation; get and(): Expectation; get has(): Expectation; get have(): Expectation; get with(): Expectation; get at(): Expectation; get of(): Expectation; get same(): Expectation; get but(): Expectation; get does(): Expectation; get still(): Expectation; get not(): Expectation; get deep(): Expectation; get nested(): Expectation; get own(): Expectation; get ordered(): Expectation; get any(): Expectation; get all(): Expectation; get ok(): Expectation; get true(): Expectation; get false(): Expectation; get null(): Expectation; get undefined(): Expectation; get NaN(): Expectation; get exist(): Expectation; get empty(): Expectation; get arguments(): Expectation; get extensible(): Expectation; get sealed(): Expectation; get frozen(): Expectation; get finite(): Expectation; a(type: string, msg?: string): Expectation; include(val: any, msg?: string): Expectation; equal(val: any, msg?: string): Expectation; eql(obj: object, msg?: string): Expectation; above(n: number, msg?: string): Expectation; least(n: number, msg?: string): Expectation; below(n: number, msg?: string): Expectation; most(n: number, msg?: string): Expectation; within(start: number, finish: number, msg?: string): Expectation; property(name: string, val?: any, msg?: string): Expectation; ownPropertyDescriptor(name: string, descriptor?: object, msg?: string): Expectation; lengthOf(n: number, msg?: string): Expectation; match(re: RegExp, msg?: string): Expectation; string(str: string, msg?: string): Expectation; keys(...keys: Array>): Expectation; closeTo(expected: number, delta: number, msg?: string): Expectation; members(set: any[], msg?: string): Expectation; oneOf(list: any[], msg?: string): Expectation; fail(...args: any[]): Expectation; } export { Expectation };