import { ReadStream } from 'fs';
export declare class LocalDiskStorage {
    private readonly logger;
    ensureDirectories(): Promise<void>;
    buildStoragePath(mimeType: string): string;
    commitUpload(tmpPath: string, storagePath: string): Promise<void>;
    safeUnlink(absOrRelPath: string): Promise<void>;
    resolveAbsPath(storagePath: string): string;
    createReadStream(storagePath: string): ReadStream;
    exists(storagePath: string): Promise<boolean>;
    listAllFiles(absDir?: string): Promise<Array<{
        absPath: string;
        mtimeMs: number;
    }>>;
    toRelativePath(absPath: string): string;
    private isAbsolute;
    private walk;
}
