tiramisu/runtime/out/preload.d.ts
2025-06-27 15:14:59 +01:00

11 lines
359 B
TypeScript

declare const tiramisu: {
invoke: (name: string, ...args: any[]) => Promise<any>;
fs: {
readFile: (path: string) => Promise<string>;
readDir: (path: string) => Promise<string[]>;
exists: (path: string) => Promise<boolean>;
};
notifications: {
notify: (message: string, ico?: string) => Promise<void>;
};
};