import { UserEntity, GroupEntity, OrganizationEntity, FileMetadata, StorageProviderServiceConfig, ENTITY_ACCESS } from '../..'; import { STORAGE_PROVIDER_PROTOCOL } from '../enum'; import { FileBaseDto } from './base.dto'; export declare class SubmitFileDto { name: string; readAccessSwitch?: ENTITY_ACCESS; } export declare class CreateFileBaseDto extends FileBaseDto { name: string; path: string; metadata: FileMetadata; service: STORAGE_PROVIDER_PROTOCOL; serviceConfig: StorageProviderServiceConfig; hash?: string; } /** * Create a new file */ export declare class CreateFileDto extends CreateFileBaseDto { organization: OrganizationEntity; groups: GroupEntity[]; createdByUser: UserEntity; }