import mocha from 'mocha'; import { Task, Operation } from 'effection'; type TestFunction = (this: mocha.Context, world: Task, scope: Task) => Generator, any, any>; interface ItFunction { (title: string, fn?: TestFunction): void; only(title: string, fn: TestFunction): void; skip(title: string, fn: TestFunction): void; } export declare const describe: mocha.SuiteFunction; export declare const beforeEach: (fn: TestFunction) => void; export declare const afterEach: (fn: TestFunction) => void; export declare const it: ItFunction; export declare function captureError(op: Operation): Operation; export {}; //# sourceMappingURL=index.d.ts.map