import { Stage } from './stage'; import { AssertionNote } from './types'; import { AxiosRequestConfig } from '../methods/request'; interface AssertionRecipe { assertion: string; handler: () => (boolean | Promise); message?: string; } export declare class Context { protected data: Data; stage: Stage; constructor(stage: Stage); get(k: Key): Data[Key]; set(k: Key, v: Value): void; pass(message?: string): AssertionNote | Promise; fail(message?: any): AssertionNote | Promise; truthy(value: any, message?: any): AssertionNote | Promise; falsy(value: any, message?: any): AssertionNote | Promise; true(value: any, message?: any): AssertionNote | Promise; false(value: any, message?: any): AssertionNote | Promise; is(value: any, expected: any, message?: any): AssertionNote | Promise; not(value: any, expected: any, message?: any): AssertionNote | Promise; throws(fn: () => any, message?: any): AssertionNote | Promise; notThrows(fn: () => any, message?: any): AssertionNote | Promise; regex(exp: RegExp, value: string, message?: any): AssertionNote | Promise; notRegex(exp: RegExp, value: string, message?: any): AssertionNote | Promise; deepEqual(value: any, expected: any, message?: any): AssertionNote | Promise; notDeepEqual(value: any, expected: any, message?: any): AssertionNote | Promise; sleep(time: number): Promise; request(config: AxiosRequestConfig): Promise>; exec(command: string): Promise<{ stdout: string; stderr: string; }>; protected assert(recipe: AssertionRecipe): AssertionNote | Promise; } export {};