declare type ContextCallback = (context: T) => Promise; export declare function beforeAllWithContext(callback: () => Promise): Promise; export declare function afterAllWithContext(context: Promise, callback: ContextCallback): void; export declare function beforeEachWithContext(callback: () => Promise): Promise; export declare function afterEachWithContext(context: Promise, callback: ContextCallback): void; export declare function describeWithContext(name: string, context: Promise, fn: ContextCallback): void; export declare function itWithContext(name: string, context: Promise, fn: ContextCallback): void; export declare function testWithContext(name: string, context: Promise, fn: ContextCallback): void; export {};