declare const terminateEvents: readonly ["SIGINT", "SIGTERM"];
type TerminateEvents = (typeof terminateEvents)[number];
type TerminateHandler = (eventName: TerminateEvents) => void;
export declare function registerTerminateHandler(callback: TerminateHandler): () => void;
export {};