/**
 * TLS module for smartproxy
 * Re-exports protocol components and provides smartproxy-specific functionality
 */
// Re-export all protocol components from protocols/tls
export * from '../protocols/tls/index.js';
// Export smartproxy-specific SNI handler
export * from './sni/sni-handler.js';
// Create a namespace for SNI utilities
import { SniHandler } from './sni/sni-handler.js';
import { SniExtraction } from '../protocols/tls/sni/sni-extraction.js';
import { ClientHelloParser } from '../protocols/tls/sni/client-hello-parser.js';
// Export utility objects for convenience
export const SNI = {
    // Main handler class (for backward compatibility)
    Handler: SniHandler,
    // Utility classes
    Extraction: SniExtraction,
    Parser: ClientHelloParser,
    // Convenience functions
    extractSNI: SniHandler.extractSNI,
    processTlsPacket: SniHandler.processTlsPacket,
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy90bHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBRUgsdURBQXVEO0FBQ3ZELGNBQWMsMkJBQTJCLENBQUM7QUFFMUMseUNBQXlDO0FBQ3pDLGNBQWMsc0JBQXNCLENBQUM7QUFFckMsdUNBQXVDO0FBQ3ZDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNsRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDdkUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFFaEYseUNBQXlDO0FBQ3pDLE1BQU0sQ0FBQyxNQUFNLEdBQUcsR0FBRztJQUNqQixrREFBa0Q7SUFDbEQsT0FBTyxFQUFFLFVBQVU7SUFFbkIsa0JBQWtCO0lBQ2xCLFVBQVUsRUFBRSxhQUFhO0lBQ3pCLE1BQU0sRUFBRSxpQkFBaUI7SUFFekIsd0JBQXdCO0lBQ3hCLFVBQVUsRUFBRSxVQUFVLENBQUMsVUFBVTtJQUNqQyxnQkFBZ0IsRUFBRSxVQUFVLENBQUMsZ0JBQWdCO0NBQzlDLENBQUMifQ==