import { W as WorkerGlobalState, B as BirpcOptions, R as RuntimeRPC, a as WorkerSetupContext } from './chunks/worker.d.ZGohxCEd.js'; import { Awaitable } from '@vitest/utils'; import '@vitest/runner'; import 'vite/module-runner'; import './chunks/config.d.BTfZNUu9.js'; import '@vitest/pretty-format'; import '@vitest/snapshot'; import '@vitest/utils/diff'; import './chunks/environment.d.CrsxCzP1.js'; /** @experimental */ declare function runBaseTests(method: "run" | "collect", state: WorkerGlobalState): Promise; type WorkerRpcOptions = Pick, "on" | "off" | "post" | "serialize" | "deserialize">; interface VitestWorker extends WorkerRpcOptions { runTests: (state: WorkerGlobalState) => Awaitable; collectTests: (state: WorkerGlobalState) => Awaitable; setup?: (context: WorkerSetupContext) => Promise<() => Promise>; } interface Options extends VitestWorker { teardown?: () => void; } /** @experimental */ declare function init(worker: Options): void; export { init, runBaseTests };