import { iAssertionContext } from "./interfaces/iassertioncontext"; import { FindAllOptions, FindOptions } from "./interfaces/find-options"; import { Value } from "./value"; import { iResponse, iValue } from "."; export declare function wrapAsValue(context: iAssertionContext, data: T, name: string, source?: any): Value; export declare function findOne(scope: iValue | iResponse, selector: string, params: FindParams): Promise>; export declare type FindParams = { contains: string | null; matches: RegExp | null; opts: FindOptions | FindAllOptions | null; }; export declare function getFindName(params: FindParams, selector: string | string[], i: number | null): string; export declare function getFindParams(a: any, b: any): FindParams; export declare function filterFind(elements: iValue[], contains?: string | RegExp | null, opts?: FindAllOptions | null): Promise[]>; export declare function applyOffsetAndLimit(opts: FindAllOptions, elements: iValue[]): iValue[]; export declare const delay: (ms: number) => Promise;