import { CommandBus, EventBus, QueryBus } from '@nestjs/cqrs'; import { Resource, ResourceWriteRepository } from '../../domain'; import { FileUpload, FileManager } from '../../application'; export declare class ResourceManager { private readonly commandBus; private readonly queryBus; private readonly eventBus; private readonly fileManager; private readonly writeRepository; constructor(commandBus: CommandBus, queryBus: QueryBus, eventBus: EventBus, fileManager: FileManager, writeRepository: ResourceWriteRepository); upload(args: { file: FileUpload; destinationPath: string; filename?: string; parentId?: string; parentType?: string; resourceId?: string; creatorId: string; clientCreatedAt?: Date; }): Promise; delete(resourceId: string): Promise; }