/** * Prepares the TLS secure context * @param {Server} server * @returns */ export function prepareSecureContext(server: Server): tls.SecureContext; /** * @type {SecureContext} */ export let secureContext: tls.SecureContext; import type { Server } from '@hapi/hapi'; import tls from 'node:tls';