/// /// interface ImportMetaEnv { readonly VITE_APP_VERSION?: string; readonly VITE_GITHUB_REPO?: string; } interface ImportMeta { readonly env: ImportMetaEnv; } declare module "virtual:pwa-register" { export function registerSW(options?: { immediate?: boolean; onNeedRefresh?: () => void; onOfflineReady?: () => void; }): (reloadPage?: boolean) => Promise; }