import http2 from "http2"; import { NodeHttpAdapter } from "./node.adapter"; export interface TlsOptions { cert: string; key: string; ca?: string; passphrase?: string; minVersion?: "TLSv1.2" | "TLSv1.3"; ciphers?: string; alpnProtocols?: string[]; } export interface Http2Options { enabled?: boolean; } export interface SecureServerOptions { port?: number; tls?: TlsOptions; http2?: Http2Options; onListen?: (port: number, protocol: string) => void; baseDir?: string; } export declare function createSecureServer(adapter: NodeHttpAdapter, options: SecureServerOptions, handler: (req: import("http").IncomingMessage, res: import("http").ServerResponse) => void): import("http").Server | http2.Http2SecureServer; export declare function loadTlsFromEnv(): TlsOptions | undefined; //# sourceMappingURL=tls.adapter.d.ts.map