declare global { interface Window { // internal __TIRAMISU_INTERNAL_invoke: (name: string, ...args: any[]) => Promise; // filesystem __TIRAMISU_FILESYSTEM_readFile: (path: string) => Promise; __TIRAMISU_FILESYSTEM_readDir: (path: string) => Promise; __TIRAMISU_INTERNAL_exists: (path: string) => Promise; // notifications __TIRAMISU_NOTIFICATIONS_notify: (message: string, ico?: string) => Promise; tiramisu: { invoke: (name: string, ...args: any[]) => Promise; fs: { readFile(path: string): Promise; readDir(path: string): Promise; exists(path: string): Promise; }, notifications: { notify(message: string, ico?: string): Promise; } }; } } export { };