export function isTauri(): boolean { return ( typeof window !== "undefined" && (window as unknown as Record).__TAURI_INTERNALS__ !== undefined ); }