declare module "*.jpg"; declare module "*.png"; declare module "*.woff2"; declare module "*.woff"; declare module "*.ttf"; declare module "*.scss" { const content: Record; export default content; } declare module "*.svg"; // Add more specific types interface TauriCommands { writeText(text: string): Promise; invoke(command: string, payload?: Record): Promise; } interface TauriDialog { save(options?: Record): Promise; } interface TauriFS { writeBinaryFile(path: string, data: Uint8Array): Promise; writeTextFile(path: string, data: string): Promise; } interface TauriNotification { requestPermission(): Promise; isPermissionGranted(): Promise; sendNotification(options: string | Options): void; } declare global { interface Window { __TAURI__?: { dialog: TauriDialog; fs: TauriFS; notification: TauriNotification; // ... other Tauri interfaces }; } }