import type { Server } from 'node:http';
import type { ExecutionStateManager } from './execution-state/index.js';
import type { ClientCallbackManager } from './callback/index.js';
interface ShutdownHandlers {
    server?: Server;
    stateManager?: ExecutionStateManager;
    callbackManager?: ClientCallbackManager;
    customHandlers?: Array<() => Promise<void>>;
}
/**
 * Registers handlers for graceful shutdown
 */
export declare function registerShutdownHandlers(handlers: ShutdownHandlers): void;
/**
 * Triggers graceful shutdown programmatically
 */
export declare function shutdown(): void;
export {};
//# sourceMappingURL=shutdown.d.ts.map