/** Test declarations, lifecycle hooks, and task callbacks registered by stories. */
export declare const STORY_COLLECTORS_CODE = "\n/** Registers a callback on the active task after a failed test. */\nexport function onTestFailed(callback, timeout) {\n  registerHistoireTestTaskCallback(globalThis.__vitest_worker__?.current, 'onFailed', callback, timeout)\n}\n\n/** Registers cleanup on the active task for either test outcome. */\nexport function onTestFinished(callback, timeout) {\n  registerHistoireTestTaskCallback(globalThis.__vitest_worker__?.current, 'onFinished', callback, timeout)\n}\n\nexport const describe = createHistoireSuiteCollector()\n\nexport const it = createHistoireTestCollector()\n\nexport const test = it\nexport const suite = describe\n\n/** Registers suite setup with its optional deadline. */\nexport function beforeAll(callback, timeout) {\n  registerCollectedTestHook('beforeAll', callback, timeout)\n}\n/** Registers per-test setup with its optional deadline. */\nexport function beforeEach(callback, timeout) {\n  registerCollectedTestHook('beforeEach', callback, timeout)\n}\n/** Registers suite teardown with its optional deadline. */\nexport function afterAll(callback, timeout) {\n  registerCollectedTestHook('afterAll', callback, timeout)\n}\n/** Registers per-test teardown with its optional deadline. */\nexport function afterEach(callback, timeout) {\n  registerCollectedTestHook('afterEach', callback, timeout)\n}\n/** Registers a resource wrapper around a suite. */\nexport function aroundAll(callback, timeout) {\n  registerCollectedAroundHook('aroundAll', callback, timeout)\n}\n/** Registers a resource wrapper around a test. */\nexport function aroundEach(callback, timeout) {\n  registerCollectedAroundHook('aroundEach', callback, timeout)\n}\n";
//# sourceMappingURL=collectors.d.ts.map