/**
 * Registers a callback to be invoked on process termination signals (SIGINT, SIGTERM, SIGHUP).
 * SIGHUP is emitted when the terminal window is closed (e.g. via the X button).
 * Returns a function to unregister the callback.
 */
export declare function onTerminate(callback: () => void): () => void;
//# sourceMappingURL=on-terminate.d.ts.map