/** * @file `load` and `unload` — install and remove the `signal-exit` listeners. * Co-located with `getSignalListeners` because the per-signal listener body * calls `unload()`; keeping them in the same leaf avoids an inter-leaf import * cycle. */ import type { SignalListenerMap } from './types.js'; export declare function getSignalListeners(): SignalListenerMap; /** * Load signal handlers and hook into process exit events. * * @example * ;```typescript * load() * // Signal handlers are now active * ``` */ export declare function load(): void; /** * Unload signal handlers and restore original process behavior. * * @example * ;```typescript * unload() * // Signal handlers are now removed * ``` */ export declare function unload(): void;