/**
 * AI Error Fixer - Minimal stub for backward compatibility
 */
export declare enum ErrorType {
    BUILD_ERROR = "build_error",
    TEST_FAILURE = "test_failure",
    TYPE_ERROR = "type_error",
    LINT_ERROR = "lint_error",
    IMPORT_ERROR = "import_error",
    SYNTAX_ERROR = "syntax_error",
    FILE_NOT_FOUND = "file_not_found",
    PERMISSION_ERROR = "permission_error",
    EDIT_CONFLICT = "edit_conflict",
    NEWLINE_IN_STRING = "newline_in_string",
    UNKNOWN = "unknown"
}
export interface ErrorLocation {
    filePath: string;
    lineNumber?: number;
    column?: number;
}
export interface ErrorFix {
    description: string;
    filePath: string;
    oldContent: string;
    newContent: string;
    confidence: number;
    autoApplicable: boolean;
    requiresConfirmation: boolean;
}
export interface ParsedError {
    errorType: ErrorType;
    message: string;
    rawOutput: string;
    locations: ErrorLocation[];
    suggestedFixes: ErrorFix[];
    relatedErrors: string[];
    metadata: Record<string, unknown>;
}
export declare class AIErrorFixer {
    private readonly workingDir;
    constructor(options?: {
        workingDir?: string;
    });
    analyzeOutput(output: string, command?: string): ParsedError[];
    formatForAI(errors: ParsedError[]): string;
    private detectOutputType;
    private parseTypeScriptErrors;
    private parseNpmErrors;
    private parseTestErrors;
    private parseGenericErrors;
    private generateFixes;
}
export declare function createErrorFixer(options?: {
    workingDir?: string;
}): AIErrorFixer;
//# sourceMappingURL=aiErrorFixer.d.ts.map