import { CrudListCallProps, GenericObject } from "../../api.types"; interface CustomFolderAPIMethods { get(id: string): Promise; getChildren(id: string, options: CrudListCallProps): Promise; addSubfolder(id: string, data: GenericObject): Promise; copyTo(id: string, targetFolderId: string): Promise; moveTo(id: string, targetFolderId: string): Promise; rename(id: string, newName: string): Promise; deleteTree(id: string): Promise; markDeleted(id: string): Promise; restore(id: string): Promise; getExternalLink(id: string): Promise; uploadFile(id: string, fileContent: any, data: GenericObject): Promise; } export interface FolderApiType extends CustomFolderAPIMethods { } export {};