import type { Readable } from 'stream'; import type { BinaryData } from './types'; export declare class FileSystemManager implements BinaryData.Manager { private storagePath; constructor(storagePath: string); init(): Promise; store(workflowId: string, executionId: string, bufferOrStream: Buffer | Readable, { mimeType, fileName }: BinaryData.PreWriteMetadata): Promise<{ fileId: string; fileSize: number; }>; getPath(fileId: string): string; getAsStream(fileId: string, chunkSize?: number): Promise; getAsBuffer(fileId: string): Promise>; getMetadata(fileId: string): Promise; deleteMany(ids: BinaryData.IdsForDeletion): Promise; copyByFilePath(workflowId: string, executionId: string, sourcePath: string, { mimeType, fileName }: BinaryData.PreWriteMetadata): Promise<{ fileId: string; fileSize: number; }>; copyByFileId(workflowId: string, executionId: string, sourceFileId: string): Promise; rename(oldFileId: string, newFileId: string): Promise; private toFileId; private resolvePath; private storeMetadata; private getSize; }