import type { Hook, HookFunction, SuiteFunction, TestFunction } from 'mocha'; import type { ContextualSuite, EntrypointAfterEachHook, EntrypointAfterHook, EntrypointBeforeEachHook, EntrypointBeforeHook, EntrypointTest } from './types.js'; export interface MochaMethods { suite: SuiteFunction; before: HookFunction | HookFunction; beforeEach: HookFunction | HookFunction; test: TestFunction; afterEach: HookFunction | HookFunction; after: HookFunction | HookFunction; } export interface MochaChain { suite: ContextualSuite; before: EntrypointBeforeHook; beforeEach: EntrypointBeforeEachHook; test: EntrypointTest; afterEach: EntrypointAfterEachHook; after: EntrypointAfterHook; } /** * Build mocha-chain methods on top of the provided mocha methods. * * @param methods - Mocha's native BDD/TDD methods * @returns chain-able methods */ export declare const createMochaChain: (methods: MochaMethods) => MochaChain; //# sourceMappingURL=mocha-chain.d.ts.map