///
///
///
import type { ILoggerComponent } from "@well-known-components/interfaces";
import http from "http";
import https from "https";
import type { Duplex } from "stream";
type Socket = Duplex & {
server?: http.Server | https.Server;
};
export type HttpTerminatorConfigurationInput = {
gracefulTerminationTimeout: number;
};
export declare function createServerTerminator(server: http.Server | https.Server, components: {
logger: ILoggerComponent.ILogger;
}, configurationInput: Partial): {
secureSockets: Set;
sockets: Set;
terminate: () => Promise;
};
export {};