environments.d.ts 577 B

1234567891011121314151617181920212223
  1. import { a3 as Environment } from './global-e98f203b.js';
  2. import 'vite';
  3. import 'tinybench';
  4. import 'fs';
  5. import 'worker_threads';
  6. declare const environments: {
  7. node: Environment;
  8. jsdom: Environment;
  9. 'happy-dom': Environment;
  10. 'edge-runtime': Environment;
  11. };
  12. interface PopulateOptions {
  13. bindFunctions?: boolean;
  14. }
  15. declare function populateGlobal(global: any, win: any, options?: PopulateOptions): {
  16. keys: Set<string>;
  17. skipKeys: string[];
  18. originals: Map<string | symbol, any>;
  19. };
  20. export { environments as builtinEnvironments, populateGlobal };