/**
 * Error Formatter
 *
 * Formats validation issues for beautiful console output.
 * Provides colored, contextualized error messages with suggestions.
 *
 * @module registry/formatters/error-formatter
 * @version 2.0.0
 */
import type { ValidationIssue, ValidationResult } from '../types/index.js';
import type { ValidationReport } from '../validators/validator.js';
/**
 * Error formatter options
 */
export interface ErrorFormatterOptions {
    /** Use colors in output (default: true) */
    colors?: boolean;
    /** Show suggestions (default: true) */
    showSuggestions?: boolean;
    /** Show fix commands (default: true) */
    showFix?: boolean;
    /** Show "learn more" URLs (default: true) */
    showLearnMore?: boolean;
    /** Compact mode - less verbose (default: false) */
    compact?: boolean;
}
/**
 * Error Formatter
 *
 * Formats validation issues for console output.
 */
export declare class ErrorFormatter {
    private options;
    constructor(options?: ErrorFormatterOptions);
    /**
     * Format a complete validation report
     *
     * @param report - Validation report to format
     * @returns Formatted string ready for console output
     */
    formatReport(report: ValidationReport): string;
    /**
     * Format validation result
     *
     * @param result - Validation result to format
     * @returns Formatted string
     */
    formatResult(result: ValidationResult): string;
    /**
     * Format a single validation issue
     *
     * @param issue - Issue to format
     * @returns Formatted string
     */
    formatIssue(issue: ValidationIssue): string;
    /**
     * Format header
     *
     * @param report - Validation report
     * @returns Formatted header
     */
    private formatHeader;
    /**
     * Format summary
     *
     * @param report - Validation report
     * @returns Formatted summary
     */
    private formatSummary;
    /**
     * Format footer
     *
     * @param report - Validation report
     * @returns Formatted footer
     */
    private formatFooter;
    /**
     * Get icon for severity
     *
     * @param severity - Issue severity
     * @returns Icon character
     */
    private getIcon;
    /**
     * Get color for severity
     *
     * @param severity - Issue severity
     * @returns ANSI color code
     */
    private getSeverityColor;
    /**
     * Apply color to text
     *
     * @param colorCode - ANSI color code
     * @param text - Text to color
     * @returns Colored text (or plain text if colors disabled)
     */
    private color;
}
//# sourceMappingURL=error-formatter.d.ts.map