/** * Clean up all registered exit handlers. * This is useful when running multiple client instances in the same process. * For example, when running unit tests. */ export declare function cleanUpHandlers(): void; export declare function handleExit(callback: () => void | Promise): void;