export type GatewayHealth = { status: "ok" | "draining"; version: string; pid?: number; }; type ProcessIdentity = { readonly pid: number; }; /** Captured when this module loads, so later PATH or on-disk installs cannot change it. */ export declare const RUNNING_GATEWAY_VERSION: string; export declare function gatewayHealth(status: GatewayHealth["status"], version: string, runningProcess?: ProcessIdentity): GatewayHealth; export {};