/** * In order to have thorough testing, we should only interact with the window * (and other browser APIs) via a service. * * We can control, mock, and override the services, but we can't do so with * the browser APIs. * */ declare const WindowProxyService: import("@ember/service").default & Window & typeof globalThis; declare global { interface Window { requirejs: (path: string) => { default: never; }; } } declare module '@ember/service' { interface Registry { 'browser/window': typeof WindowProxyService; } } export { WindowProxyService as default };