///
import { Server, IncomingMessage, ServerResponse } from 'http';
import { Middleware, Endpoint } from '@coupler/core';
export interface IProbeConfig {
port?: number;
subpath?: {
liveness?: string;
readiness?: string;
};
}
export declare class ProbeMiddleware extends Middleware {
static type: string;
server: Server;
private config;
constructor(config?: IProbeConfig);
getInitializer(endpoint: Endpoint): () => Promise;
getDestroyer(endpoint: Endpoint): Promise<() => Promise>;
handler(endpoint: Endpoint, req: IncomingMessage, res: ServerResponse): void;
}