import https from 'node:https'; import { type Provider } from 'knifecycle'; import { type LogService } from 'common-services'; import { type WhookHTTPRouterService } from './httpRouter.js'; import { type WhookSSLCertificatesService } from './SSL_CERTIFICATES.js'; export interface WhookHTTPSServerEnv { DESTROY_SOCKETS?: string; } export type WhookHTTPSServerOptions = Pick & Partial>; export interface WhookHTTPSServerConfig { HOST?: string; PORT?: number; HTTPS_SERVER_OPTIONS?: Partial; } export type WhookHTTPSServerDependencies = WhookHTTPSServerConfig & { SSL_CERTIFICATES: WhookSSLCertificatesService; ENV?: WhookHTTPSServerEnv; HOST: string; PORT: number; httpRouter: WhookHTTPRouterService; log?: LogService; }; export type WhookHTTPSServerService = https.Server; export type WhookHTTPSServerProvider = Provider; export declare const DEFAULT_HTTPS_SERVER_OPTIONS: WhookHTTPSServerOptions; declare const _default: import("knifecycle").ProviderInitializer; export default _default;