import { CommandBus } from '@nestjs/cqrs'; import { FileInfo } from '../storage'; import { OperationToken } from '../token'; export declare class ChunkFileInfo { readonly chunkname: string; readonly file: FileInfo; readonly identifier: string; readonly fingerprint: string; readonly chunk: number; constructor(o: ChunkFileInfo); } export declare class RemoteFileInfo extends FileInfo { readonly fullpath: string; readonly bucket: string; readonly prefix: string; constructor(o: RemoteFileInfo); } export declare class UploaderService { private readonly commandBus; private readonly context; constructor(commandBus: CommandBus); uploadChunks(token: OperationToken, filename: string, chunkPath: string, chunk: number): Promise; mergeChunks(token: OperationToken, filename?: string): Promise; }