/** * Creates a test function with all Jest-compatible features in a single implementation * @returns Test function with all Jest features */ export declare function createTestFunction(): { (name: string, fnOrOptions?: Function | object, maybeTimeout?: number | Function): Promise; only(name: string, fn?: Function, timeout?: number): Promise; skip(name: string, fn?: Function): Promise; todo(name: string): Promise; retryTimes(count: number, options?: { logErrorsBeforeRetry?: boolean; }): /*elided*/ any; }; /** * Creates a describe function with all Jest-compatible features in a single implementation * @returns Describe function with all Jest features */ export declare function createDescribeFunction(): { (name: string, fnOrOptions?: Function | object, fn?: Function): Promise; only(name: string, fn: Function): Promise; skip(name: string, fn: Function): Promise; todo(name: string, fn?: Function): Promise; }; /** * Creates all the test-related global functions and exports * @returns Object containing all test-related functions */ export declare function createTestFunctions(): { test: { (name: string, fnOrOptions?: Function | object, maybeTimeout?: number | Function): Promise; only(name: string, fn?: Function, timeout?: number): Promise; skip(name: string, fn?: Function): Promise; todo(name: string): Promise; retryTimes(count: number, options?: { logErrorsBeforeRetry?: boolean; }): /*elided*/ any; }; it: { (name: string, fnOrOptions?: Function | object, maybeTimeout?: number | Function): Promise; only(name: string, fn?: Function, timeout?: number): Promise; skip(name: string, fn?: Function): Promise; todo(name: string): Promise; retryTimes(count: number, options?: { logErrorsBeforeRetry?: boolean; }): /*elided*/ any; }; describe: { (name: string, fnOrOptions?: Function | object, fn?: Function): Promise; only(name: string, fn: Function): Promise; skip(name: string, fn: Function): Promise; todo(name: string, fn?: Function): Promise; }; beforeEach: (fn: any) => void; afterEach: (fn: any) => void; beforeAll: (fn: any) => void; afterAll: (fn: any) => void; };