2024-07-03 18:00:57 +08:00
|
|
|
import {ComponentStore} from "./services/components";
|
2024-07-18 18:19:11 +08:00
|
|
|
import {EventManager} from "./services/events";
|
2024-07-18 22:13:14 +08:00
|
|
|
import {HttpManager} from "./services/http";
|
2024-10-08 05:55:10 +08:00
|
|
|
import {Translator} from "./services/translations";
|
2024-07-03 00:34:03 +08:00
|
|
|
|
|
|
|
declare global {
|
2024-09-18 20:43:39 +08:00
|
|
|
const __DEV__: boolean;
|
|
|
|
|
2024-07-03 00:34:03 +08:00
|
|
|
interface Window {
|
2024-10-11 22:19:19 +08:00
|
|
|
__DEV__: boolean;
|
2024-09-18 20:43:39 +08:00
|
|
|
$components: ComponentStore;
|
|
|
|
$events: EventManager;
|
2024-10-08 05:55:10 +08:00
|
|
|
$trans: Translator;
|
2024-09-18 20:43:39 +08:00
|
|
|
$http: HttpManager;
|
2024-07-18 22:13:14 +08:00
|
|
|
baseUrl: (path: string) => string;
|
2024-10-11 22:19:19 +08:00
|
|
|
importVersioned: (module: string) => Promise<object>;
|
2024-07-03 00:34:03 +08:00
|
|
|
}
|
2024-06-20 03:00:29 +08:00
|
|
|
}
|