import type { Window as TauriWindow } from '@tauri-apps/api/window'; import type { Update } from '@tauri-apps/plugin-updater'; type TauriApi = { version: string; markTitleBarOverlay: (isOverlay: boolean) => Promise; setNotificationsCount: (amount: number, isMuted?: boolean) => Promise; openNewWindow: (url: string) => Promise; relaunch: () => Promise; checkUpdate: () => Promise; getCurrentWindow: () => Promise; setWindowTitle: (title: string) => Promise; }; declare global { interface Window { tauri: TauriApi; } } export {};