import { DiagnosticResult } from '../utils';
/**
 * ErrorDiagnostics provides enhanced error parsing and troubleshooting guidance
 * for AWS CloudFormation and CDK deployment errors.
 *
 * Requirements: 5.1, 5.2, 5.3, 5.4, 5.5
 */
export declare class ErrorDiagnostics {
    /**
     * Parse AWS Early Validation errors and provide specific guidance
     *
     * @param errorOutput - Raw error output from AWS CloudFormation
     * @returns Diagnostic result with parsed errors and troubleshooting steps
     */
    static parseAwsEarlyValidationError(errorOutput: string): DiagnosticResult;
    /**
     * Parse general CloudFormation errors and provide resource-specific guidance
     *
     * @param errorOutput - Raw error output from CloudFormation
     * @returns Diagnostic result with parsed errors and troubleshooting steps
     */
    static parseCloudFormationError(errorOutput: string): DiagnosticResult;
    /**
     * Extract missing export names from error output
     *
     * @param errorOutput - Raw error output containing export references
     * @returns Array of missing export names
     */
    static extractMissingExports(errorOutput: string): string[];
    /**
     * Extract stage name from error output
     *
     * @param errorOutput - Raw error output
     * @returns Stage name (defaults to 'dev' if not found)
     */
    private static extractStageFromError;
    /**
     * Get resource-specific troubleshooting guidance
     *
     * @param resourceType - AWS resource type
     * @param errorReason - Error reason from CloudFormation
     * @returns Array of troubleshooting steps
     */
    static getTroubleshootingForResourceType(resourceType: string, errorReason: string): string[];
}
