import { type RunnerConfigTeardownSlot } from './../domain.operations/genTempDir/autoprune/isTeardownWired'; /** * .what = jest globalSetup — mints this run's id BEFORE jest forks its workers * .why = a worker inherits only a COPY of the env that existed at fork, so the id * must be on the main env before the first fork. this is the earliest hook * jest offers, and it runs once, in the main process * * @example * // jest.config.ts * export default { * globalSetup: 'test-fns/autoprune.setup.jest', * globalTeardown: 'test-fns/autoprune.teardown.jest', * }; * * .note = jest needs BOTH keys. wire only this one and every dir is stamped but * never reclaimed — a half-wired state vitest cannot reach. the marker * records which of the two was wired, so the next run names the cause * * .note = `globalConfig` is REQUIRED. jest passes it on every call * (@jest/core build/index.js:3166), so an optional would guard a case the * runner cannot produce — and would fall back to `false`, which ACCUSES a * correctly-wired consumer of a half-wired config */ declare const _default: (globalConfig: RunnerConfigTeardownSlot) => Promise; export default _default;