import * as S from 'ufc-schema'; import { UserFileType } from './UserFileType'; /** 获取某个目录的详情 */ export declare function getDir(dirId: S.Id): Promise<{ currentDirId: "string"; children: Record; }>; export declare function createModelFile(categoryId: S.Id, fileId: S.Id): Promise; /** 创建某个新的目录 */ export declare function createDir(name: string, parentDirId: S.Id): Promise; export declare function getParentDirPath(path: string): string; /** 删除目录或文件 */ export declare function deleteDirAndFileByIds({ modelIds, modelCategoryIds, }: { modelIds: S.Id[]; modelCategoryIds: S.Id[]; }): Promise; /** 移动指定文件夹和模型 */ export declare function moveDirOrModel({ modelIds, categoryIds, targetCategoryId, }: { modelIds: S.Id[]; categoryIds: S.Id[]; targetCategoryId: S.Id; }): Promise; /** 获取批量移动文件(夹)的目标文件夹 */ export declare function getMoveTarget(categoryIds?: S.Id[]): Promise; /** 将获取到的文件夹信息转化为视图所需要的 UserFileType */ export declare function transformDirToFileType(dir: S.Dir): { currentDirId: S.Id; children: Record; };