export declare global { interface SpiderServices extends Services { listDir: (id: string, path: string) => Promise>; listRootDir: (id: string) => Promise>; getFile: (id: string, path: string) => Promise>; getFileInfo: (id: string, path: string) => Promise>; saveFile: (id: string, path: string, data: string) => Promise; saveFileBinary: (id: string, path: string, file: File) => Promise; saveDir: (id: string, path: string) => Promise; renameFile: (id: string, path: string, new_path: string) => Promise; deleteFile: (id: string, path: string) => Promise; copyFile: (id: string, path: string, new_path: string) => Promise; } }