import { CrudListCallProps, GenericObject } from "../../api.types"; interface CustomFileAPIMethods { getFields(): Promise; get(id: string, data: GenericObject): Promise; rename(id: string, newName: string): Promise; copyTo(id: string, targetFolderId: string): Promise; moveTo(id: string, targetFolderId: string): Promise; delete(id: string): Promise; markDeleted(id: string): Promise; restore(id: string): Promise; uploadVersion(id: string, fileContent: any): Promise; restoreFromVersion(id: string, versionId: string): Promise; getVersions(id: string, options: CrudListCallProps): Promise; getExternalLink(id: string): Promise; } export interface FileApiType extends CustomFileAPIMethods { } export {};