import { k as VitestRunMode, U as UserConfig, N as Vitest, aw as MockFactory, ax as MockMap, ay as TestSequencer } from './types-e1e1d1e5.js'; export { ay as TestSequencer, aA as TestSequencerConstructor, N as Vitest, az as startVitest } from './types-e1e1d1e5.js'; import { UserConfig as UserConfig$1, Plugin } from 'vite'; import { ViteNodeRunner } from 'vite-node/client'; import { ViteNodeRunnerOptions } from 'vite-node'; import 'tinybench'; import 'vite-node/server'; import 'node:fs'; import 'node:worker_threads'; declare function createVitest(mode: VitestRunMode, options: UserConfig, viteOverrides?: UserConfig$1): Promise; declare function VitestPlugin(options?: UserConfig, ctx?: Vitest): Promise; type Key = string | symbol; declare class VitestMocker { runner: VitestRunner; private static pendingIds; private static spyModulePath; private static spyModule?; private resolveCache; constructor(runner: VitestRunner); private get root(); private get base(); private get mockMap(); private get moduleCache(); getSuiteFilepath(): string; getMocks(): { [x: string]: string | MockFactory | null; }; private resolvePath; private resolveMocks; private callFunctionMock; getMockPath(dep: string): string; getDependencyMock(id: string): string | MockFactory | null; normalizePath(path: string): string; resolveMockPath(mockPath: string, external: string | null): string | null; mockObject(object: Record, mockExports?: Record): Record; unmockPath(path: string): void; mockPath(originalId: string, path: string, external: string | null, factory?: MockFactory): void; importActual(rawId: string, importee: string): Promise; importMock(rawId: string, importee: string): Promise; initializeSpyModule(): Promise; requestWithMock(url: string, callstack: string[]): Promise; queueMock(id: string, importer: string, factory?: MockFactory): void; queueUnmock(id: string, importer: string): void; } interface ExecuteOptions extends ViteNodeRunnerOptions { mockMap: MockMap; } declare class VitestRunner extends ViteNodeRunner { options: ExecuteOptions; mocker: VitestMocker; constructor(options: ExecuteOptions); shouldResolveId(id: string, _importee?: string | undefined): boolean; resolveUrl(id: string, importee?: string): Promise<[url: string, fsPath: string]>; dependencyRequest(id: string, fsPath: string, callstack: string[]): Promise; prepareContext(context: Record): Record & { __vitest_mocker__: VitestMocker; }; shouldInterop(path: string, mod: any): boolean; } declare class BaseSequencer implements TestSequencer { protected ctx: Vitest; constructor(ctx: Vitest); shard(files: string[]): Promise; sort(files: string[]): Promise; } export { BaseSequencer, ExecuteOptions, VitestPlugin, VitestRunner, createVitest };