import { E as Environment } from './chunks/environment.d.C6xYahWA.js'; export { a as EnvironmentReturn, V as VmEnvironmentReturn } from './chunks/environment.d.C6xYahWA.js'; import { br as SnapshotEnvironment, bs as SnapshotEnvironmentOptions } from './chunks/config.d.CU_b-wJj.js'; export { b as SerializedConfig, V as VitestRunner } from './chunks/config.d.CU_b-wJj.js'; import 'vitest/optional-runtime-types.js'; import 'tinybench'; declare const environments: { "node": Environment; "jsdom": Environment; "happy-dom": Environment; "edge-runtime": Environment; }; interface PopulateOptions { bindFunctions?: boolean; additionalKeys?: string[]; } declare function populateGlobal(global: any, win: any, options?: PopulateOptions): { keys: Set; skipKeys: string[]; originals: Map; }; declare class NodeSnapshotEnvironment implements SnapshotEnvironment { private options; constructor(options?: SnapshotEnvironmentOptions); getVersion(): string; getHeader(): string; resolveRawPath(testPath: string, rawPath: string): Promise; resolvePath(filepath: string): Promise; prepareDirectory(dirPath: string): Promise; saveSnapshotFile(filepath: string, snapshot: string): Promise; readSnapshotFile(filepath: string): Promise; removeSnapshotFile(filepath: string): Promise; } declare class VitestNodeSnapshotEnvironment extends NodeSnapshotEnvironment { getHeader(): string; resolvePath(filepath: string): Promise; } export { Environment, SnapshotEnvironment, VitestNodeSnapshotEnvironment as VitestSnapshotEnvironment, environments as builtinEnvironments, populateGlobal };