2022-03-12 17:45:37 +08:00
|
|
|
interface Window {
|
2023-11-17 08:45:00 +08:00
|
|
|
/**
|
|
|
|
* NProgress instance
|
|
|
|
*/
|
|
|
|
NProgress?: import('nprogress').NProgress;
|
|
|
|
/**
|
|
|
|
* loading bar instance
|
|
|
|
*/
|
2022-03-12 17:45:37 +08:00
|
|
|
$loadingBar?: import('naive-ui').LoadingBarProviderInst;
|
2023-11-17 08:45:00 +08:00
|
|
|
/**
|
|
|
|
* dialog instance
|
|
|
|
*/
|
2022-03-12 17:45:37 +08:00
|
|
|
$dialog?: import('naive-ui').DialogProviderInst;
|
2023-11-17 08:45:00 +08:00
|
|
|
/**
|
|
|
|
* message instance
|
|
|
|
*/
|
2022-03-12 17:45:37 +08:00
|
|
|
$message?: import('naive-ui').MessageProviderInst;
|
2023-11-17 08:45:00 +08:00
|
|
|
/**
|
|
|
|
* notification instance
|
|
|
|
*/
|
2022-03-12 17:45:37 +08:00
|
|
|
$notification?: import('naive-ui').NotificationProviderInst;
|
|
|
|
}
|
|
|
|
|
2023-06-20 22:07:21 +08:00
|
|
|
interface ViewTransition {
|
|
|
|
ready: Promise<void>;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Document {
|
|
|
|
startViewTransition?: (callback: () => Promise<void> | void) => ViewTransition;
|
|
|
|
}
|
|
|
|
|
2023-11-17 08:45:00 +08:00
|
|
|
interface ImportMeta {
|
|
|
|
readonly env: Env.ImportMeta;
|
2022-03-12 17:45:37 +08:00
|
|
|
}
|
|
|
|
|
2023-11-17 08:45:00 +08:00
|
|
|
/**
|
|
|
|
* build time of the project
|
|
|
|
*/
|
|
|
|
declare const BUILD_TIME: string;
|