/**
 * @file Authentication Processor for APIDoc 4.0
 *
 * Handles authentication configuration processing and content protection
 * during the documentation generation process.
 */
declare const fs: any;
declare const path: any;
declare const CryptoJS: any;
interface LoginConfig {
    active: boolean;
    admited?: Array<{
        email: string;
        password: string;
    }>;
    urlAuth?: string;
    value_form?: {
        email: string;
        password: string;
    };
    response_success?: number;
    response_error?: number;
}
interface EncryptedSection {
    id: string;
    name: string;
    data: string;
    iv: string;
    salt: string;
    timestamp: number;
    version: string;
}
/**
 * Authentication configuration processor
 */
declare class AuthProcessor {
    private config;
    private encryptionKey;
    /**
     * Initialize processor with login configuration
     */
    init(loginConfig: LoginConfig): void;
    /**
     * Process HTML template and apply authentication
     */
    processTemplate(templateContent: string, projectData: any): string;
    /**
     * Inject login configuration into template
     */
    injectLoginConfig(templateContent: string, projectData: any): string;
    /**
     * Sanitize login configuration for client-side use
     */
    sanitizeLoginConfig(): any;
    /**
     * Hash password for client-side verification (basic protection)
     */
    hashPassword(password: string, salt: string): string;
    /**
     * Generate master encryption key
     */
    generateMasterKey(): string;
    /**
     * Protect sensitive content in HTML
     */
    protectSensitiveContent(htmlContent: string): string;
    /**
     * Encrypt content using CryptoJS AES-256
     */
    encryptContent(content: string): any;
    /**
     * Create protected content placeholder
     */
    createProtectedPlaceholder(sectionId: any, sectionName: any): string;
    /**
     * Create encrypted content bundle
     */
    createContentBundle(encryptedSections: any): string;
    /**
     * Calculate checksum for integrity verification
     */
    calculateChecksum(sections: any): any;
    /**
     * Inject content bundle into HTML
     */
    injectContentBundle(htmlContent: any, contentBundle: any): any;
    /**
     * Validate login configuration
     */
    static validateConfig(loginConfig: any): {
        valid: boolean;
        errors: any[];
    };
    /**
     * Check if authentication is enabled
     */
    get isAuthEnabled(): boolean;
    /**
     * Get processor statistics
     */
    getStats(): {
        authEnabled: boolean;
        hasLocalAuth: boolean;
        hasRemoteAuth: boolean;
        localUserCount: number;
    };
}
//# sourceMappingURL=auth-processor.d.ts.map