import { ErrorResult } from './models/error-result';
export declare class ErrorUpdater {
    /**
     * Executes 'ng lint' and attempts to fix returned errors.
     * @param {boolean} audit Flag indicating if upgrade is running it audit mode
     * @param {string[]} updateSource Array used to emit logs to file
     * @returns {Promise<number>} Count of unresolved errors.
     */
    resolveLintErrors(audit: boolean, updateSource: string[]): Promise<number>;
    /**
     * Executes 'ng build' and attempts to fix returned errors.
     * @param {boolean} audit Flag indicating if upgrade is running it audit mode
     * @param {string[]} updateSource Array used to emit logs to file
     * @returns {Promise<number>} Count of unresolved errors.
     */
    resolveBuildErrors(audit: boolean, updateSource: string[]): Promise<number>;
    protected parseLintErrors(audit: boolean): Promise<ErrorResult[]>;
    protected parseBuildErrors(): Promise<ErrorResult[]>;
    protected fixErrors(audit: boolean, errors: ErrorResult[], updateSource: string[], angularVersion?: string): Promise<number>;
    protected fixError(audit: boolean, fileData: string, error: ErrorResult, updateSource: string[], augularVerion?: string): Promise<string>;
    protected parseBuildErrorsCore(log: string): ErrorResult[];
    protected parseBuildWarningsCore(log: string): ErrorResult[];
}
