import http from 'node:http'; import { type Provider } from 'knifecycle'; import { type LogService } from 'common-services'; import { type WhookHTTPRouterService } from './httpRouter.js'; export interface WhookHTTPServerEnv { DESTROY_SOCKETS?: string; } export type WhookHTTPServerOptions = Pick & Partial>; export interface WhookHTTPServerConfig { HOST?: string; PORT?: number; HTTP_SERVER_OPTIONS?: Partial; } export type WhookHTTPServerDependencies = WhookHTTPServerConfig & { ENV?: WhookHTTPServerEnv; HOST: string; PORT: number; httpRouter: WhookHTTPRouterService; log?: LogService; }; export type WhookHTTPServerService = http.Server; export type WhookHTTPServerProvider = Provider; export declare const DEFAULT_HTTP_SERVER_OPTIONS: WhookHTTPServerOptions; declare const _default: import("knifecycle").ProviderInitializer; export default _default;