11 lines
359 B
TypeScript
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>;
|
|
};
|
|
};
|