import { CertificateLevel, Grade } from '../types/base-types';
interface EnhancedAuditResult {
    metadata: {
        version: string;
        timestamp: string;
        sitemapUrl: string;
        totalPages: number;
        testedPages: number;
        duration: number;
        toolVersion?: string;
    };
    summary: {
        totalPages: number;
        testedPages: number;
        passedPages: number;
        failedPages: number;
        crashedPages: number;
        totalErrors: number;
        totalWarnings: number;
        successRate: number;
        overallScore?: number;
        overallGrade?: Grade;
        certificateLevel?: CertificateLevel;
    };
    pages: Array<{
        url: string;
        title: string;
        status: string;
        duration: number;
        accessibility?: any;
        performance?: any;
        seo?: any;
        contentWeight?: any;
        mobileFriendliness?: any;
    }>;
}
/**
 * HTML Report Generator with Certificate Badges and Comprehensive Reporting
 * - Includes certificate SVG badges based on overall score
 * - Sticky navigation with anchor links
 * - Comprehensive sections for all analysis types
 * - Modern, interactive design
 */
export declare class HTMLGenerator {
    private certificateSVGs;
    constructor();
    private loadCertificateSVGs;
    private createFallbackSVG;
    generateFromJSON(jsonPath: string): Promise<string>;
    generate(data: EnhancedAuditResult): Promise<string>;
    private generateCSS;
    private renderHeader;
    private renderNavigation;
    private renderSummary;
    private renderAccessibilitySection;
    private renderPerformanceSection;
    /**
     * Calculate a mobile performance score based on available metrics
     * Now primarily used as fallback when direct score is not available
     */
    private calculateMobilePerformanceScore;
    private renderSEOSection;
    private renderContentWeightSection;
    private renderSEOAnalysis;
    private renderGeoAuditSection;
    private renderMobileFriendlinessSection;
    private renderPagesSection;
    private renderIssues;
    private renderDetailedIssuesSection;
    private generateAccessibilityIssuesMarkdown;
    private generateDetailedIssuesMarkdown;
    private calculateWCAGLevel;
    private calculateARIAIssues;
    private renderWCAGComplianceMetrics;
    private renderARIAAnalysisMetrics;
    private renderAccessibilityDetailedIssues;
    private getIssueTypeIcon;
    /**
     * Extract line number information from HTML context and selector
     * This helps developers find the exact location of accessibility issues in their HTML source
     */
    private extractLineNumber;
    private extractMetricFromIssues;
    private formatIssueForMarkdown;
    private renderFooter;
    private generateJavaScript;
    private renderScoreBreakdown;
    private calculateOverallScore;
    private extractDomain;
    private escape;
    private formatBytes;
    private renderContentWeightOptimizations;
    private renderPerPageOptimizations;
    private renderContentWeightDetailedAnalysis;
    private formatOptimizationType;
    private renderSkippedPagesInfo;
}
export {};
//# sourceMappingURL=html-generator.d.ts.map