export declare class ReplaceUpgrader {
    private filePath;
    private fileWriter;
    private replaces;
    private messages;
    /**
     * the constructor.
     * @param filePath the file path.
     * @param replaces the replaces.
     * @param fileName the file name.
     */
    constructor(filePath: string, replaces: any, fileName?: string);
    /**
     * the run function to resolve the errors.
     */
    run(): Promise<void>;
}
