import { ArtifactReference } from './common'; export declare enum Target { MULE = "Mule", ANYPOINT_SECURITY = "SecurityFabric", FLEX_GATEWAY = "FlexGateway" } export declare enum TlsVersion { TLS_V1DOT1 = "TLSv1.1", TLS_V1DOT2 = "TLSv1.2", TLS_V1DOT3 = "TLSv1.3" } export declare enum AlpnProtocol { H2 = "h2", HTTP_1DOT1 = "http/1.1" } export type AcceptableTlsVersions = { tlsV1Dot1?: boolean; tlsV1Dot2?: boolean; tlsV1Dot3?: boolean; }; export declare class TlsContext { protected target: string | undefined; protected name: string; protected expirationDate?: string | undefined; keystore: ArtifactReference; truststore: ArtifactReference; constructor(target: string | undefined, name: string, expirationDate?: string | undefined); } export declare class MuleTlsContext extends TlsContext { protected name: string; protected expirationDate?: string | undefined; insecure: boolean; cipherSuites: string[]; private acceptableTlsVersions; constructor(name: string, expirationDate?: string | undefined); setAcceptableTlsVersions(tlsVersions: string[]): void; } export declare class AnypointSecurityTlsContext extends TlsContext { protected name: string; protected expirationDate?: string | undefined; constructor(name: string, expirationDate?: string | undefined); } export declare class FlexGatewayInboundSettings { enableClientCertValidation: boolean; } export declare class FlexGatewayOutboundSettings { skipServerCertValidation: boolean; } export declare class FlexGatewayTlsContext extends TlsContext { protected name: string; protected expirationDate?: string | undefined; minTlsVersion: string; maxTlsVersion: string; alpnProtocols: string[]; inboundSettings: FlexGatewayInboundSettings; outboundSettings: FlexGatewayOutboundSettings; cipherSuites: string[]; constructor(name: string, expirationDate?: string | undefined); } export type DescribeMuleTlsContextOutput = { id: string; name: string; tlsVersions: string[]; ciphers?: string[]; keystoreId?: string; truststoreId?: string; insecure: boolean; expirationDate?: string; }; export type DescribeFlexGatewayTlsContextOutput = { id: string; name: string; alpnProtocols: string[]; minTlsVersion: string; maxTlsVersion: string; ciphers?: string[]; keystoreId?: string; truststoreId?: string; enableClientCertValidation: boolean; skipServerCertValidation: boolean; expirationDate?: string; };