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