/** * Registers cleanup handlers for SIGINT and SIGTERM signals on a Node.js process. * Executes the provided cleanup procedure when one of these signals is received, * then removes the listeners to allow the process to exit gracefully. * * @returns An object with a `dispose` method to manually remove the registered signal handlers. */ export declare const registerExitCleanup: (process: NodeJS.Process | undefined, cleanupProcedure: () => Promise | unknown) => { dispose: () => void; };