type ProcessCleanupHandler = () => Promise | void; /** * Registers a process cleanup handler to be called during shutdown. * Handlers are executed in the order they were registered. */ export declare function registerProcessCleanup(handler: ProcessCleanupHandler): void; /** * Runs all registered process cleanup handlers in order and clears the registry. * Errors from individual handlers are caught and logged to prevent one failing cleanup from blocking others. */ export declare function runProcessCleanups(): Promise; export {};