import { t } from '../common'; declare type O = Record; export declare type IUrlParamsCellFs = t.IUrlParamsCell; export declare type IUrlParamsCellFileByName = t.IUrlParamsCell & { filename: string; }; export declare type IUrlParamsCellFileByFileUri = t.IUrlParamsCell & { filename: string; }; export declare type IReqQueryCellFsList = { expires?: string; files?: boolean; urls?: boolean; filter?: string; }; export declare type IReqQueryCellFsUpload = { changes?: boolean; }; export declare type IReqQueryCellFsUploaded = { changes?: boolean; }; export declare type IReqQueryCellFsDelete = O; export declare type IReqQueryCellFsCopy = { changes?: boolean; 's3:permission'?: t.FsS3Permission; }; export declare type IReqQueryCellFileInfo = t.IReqQueryFileInfo; export declare type IReqQueryCellFileDownloadByName = t.IReqQueryCellFileInfo & { hash?: string; expires?: string; }; export declare type IReqQueryCellFileDownloadByFileUri = IReqQueryCellFileDownloadByName; export declare type IResGetCellFs = { total: number; uri: string; urls?: { cell: string; files: IResGetCellFsFileUrl[]; }; files?: t.IFileMap; }; export declare type IResGetCellFsFileUrl = { uri: string; path: string; url: string; 'url:latest': string; }; export declare type IReqPostCellFsUploadStartBody = { files: IReqPostCellUploadFile[]; expires?: string; }; export declare type IReqPostCellUploadFile = { filename: string; filehash?: string; mimetype?: string; allowRedirect?: boolean; 's3:permission'?: t.FsS3Permission; }; export declare type IResPostCellFsUploadStart = t.IUriResponse; export declare type IResPostCellFsUploadStartData = { cell: t.ICellData; files: t.IUriData[]; errors: t.IFileUploadError[]; changes?: t.IDbModelChange[]; }; export declare type IResPostCellFsUploadUrls = t.IResGetCellUrls & { uploads: t.IFilePresignedUploadUrl[]; }; export declare type IReqPostCellFsUploadCompleteBody = O; export declare type IResPostCellFsUploadComplete = t.IUriResponse; export declare type IResPostCellFsUploadCompleteData = { cell: t.ICellData; files: t.IUriData[]; changes?: t.IDbModelChange[]; }; export declare type IReqDeleteCellFsBody = { filenames: string[]; action: 'DELETE' | 'UNLINK'; }; export declare type IResDeleteCellFs = t.IUriResponse; export declare type IResDeleteCellFsData = { uri: string; deleted: string[]; unlinked: string[]; errors: IResDeleteCellFsError[]; }; export declare type IResDeleteCellFsError = { filename: string; error: 'DELETING' | 'UNLINKING' | 'NOT_LINKED'; message: string; }; export declare type IReqPostCellFsCopyBody = { files: t.IHttpClientCellFileCopy[]; }; export declare type IResPostCellFsCopy = t.IUriResponse; export declare type IResPostCellFsCopyData = { files: IResPostCellFileCopyItem[]; errors: IResPostCellFsCopyError[]; changes?: t.IDbModelChange[]; }; export declare type IResPostCellFsCopyError = { file: t.IHttpClientCellFileCopy; message: string; }; export declare type IResPostCellFileCopyItem = { target: IResPostCellFileCopyAddress; source: IResPostCellFileCopyAddress; }; export declare type IResPostCellFileCopyAddress = { host: string; cell: string; file: string; filename: string; status: 'EXISTING' | 'NEW'; }; export {};