import { ILogger, IUserPromptService } from '.';
import { DownloadFile } from '../models';
import { IStorage } from '../storage';

export declare class FilePathFixer {
    private storage;
    private userPromptService;
    private logger;
    static transactionPathAction: {
        skipAll: Set<string>;
        truncateAll: Set<string>;
    };
    constructor(storage: IStorage, userPromptService: IUserPromptService, logger: ILogger);
    shouldFixPath(file: DownloadFile): Promise<boolean>;
    private truncatePath;
    tryFixPath(file: DownloadFile, invalidPaths: string[]): Promise<void>;
}
