Restore UI functionalities and clean up dependencies

This commit is contained in:
streaper2
2026-05-08 08:32:58 +02:00
parent 8946955f76
commit 0895b7d5bc
26751 changed files with 4207476 additions and 158 deletions

View File

@@ -0,0 +1,24 @@
import '../build/polyfills/polyfill-module';
import type Router from '../shared/lib/router/router';
import type { MittEmitter } from '../shared/lib/mitt';
import type { NEXT_DATA } from '../shared/lib/utils';
declare global {
interface Window {
__NEXT_HYDRATED?: boolean;
__NEXT_HYDRATED_AT?: number;
__NEXT_HYDRATED_CB?: () => void;
__NEXT_DATA__: NEXT_DATA;
__NEXT_P: any[];
}
}
export declare const version: string | undefined;
export declare let router: Router;
export declare const emitter: MittEmitter<string>;
export declare function initialize(opts?: {
devClient?: any;
}): Promise<{
assetPrefix: string;
}>;
export declare function hydrate(opts?: {
beforeRender?: () => Promise<void>;
}): Promise<void>;