interface Window { __TAURI_INTERNALS__?: { invoke: (cmd: string, args?: Record) => Promise; }; }