aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/vitest/dist/environments.d.ts
blob: 58d23ee85c53c4ef00ca51c28ef9e2ca44ccf3fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { E as Environment } from './chunks/environment.d.CrsxCzP1.js';
export { a as EnvironmentReturn, V as VmEnvironmentReturn } from './chunks/environment.d.CrsxCzP1.js';
import '@vitest/utils';

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<string>;
	skipKeys: string[];
	originals: Map<string | symbol, any>;
};

export { Environment, environments as builtinEnvironments, populateGlobal };