import { TLSStruct } from "./TLSStruct.js"; import * as TypeSpecs from "./TypeSpecs.js"; export declare enum AlertLevel { warning = 1, fatal = 2 } export declare enum AlertDescription { close_notify = 0, unexpected_message = 10, bad_record_mac = 20, decryption_failed_RESERVED = 21, record_overflow = 22, decompression_failure = 30, handshake_failure = 40, no_certificate_RESERVED = 41, bad_certificate = 42, unsupported_certificate = 43, certificate_revoked = 44, certificate_expired = 45, certificate_unknown = 46, illegal_parameter = 47, unknown_ca = 48, access_denied = 49, decode_error = 50, decrypt_error = 51, export_restriction_RESERVED = 60, protocol_version = 70, insufficient_security = 71, internal_error = 80, user_canceled = 90, no_renegotiation = 100, unsupported_extension = 110, certificate_unobtainable_RESERVED = 111, unrecognized_name = 112, bad_certificate_status_response = 113, bad_certificate_hash_value_RESERVED = 114, unknown_psk_identity = 115, certificate_required = 116, no_application_protocol = 120 } export declare class Alert extends TLSStruct { level: AlertLevel; description: AlertDescription; static readonly __spec: { level: TypeSpecs.Enum; description: TypeSpecs.Enum; }; static readonly spec: TypeSpecs.Struct; constructor(level: AlertLevel, description: AlertDescription); static createEmpty(): Alert; }