/// interface ImportMetaEnv { readonly VITE_DEBUG_MODE?: string; } interface Window { ReactNativeWebView?: { postMessage?: (message: string) => void; }; __TAURI__?: { core?: { invoke?: ( command: string, args?: Record, ) => Promise; }; }; wx?: { miniProgram?: { navigateTo?: (options: { url: string; success?: (result?: unknown) => void; fail?: (error: { errMsg?: string }) => void; }) => void; postMessage?: (message: unknown) => void; }; }; WeixinJSBridge?: unknown; }