import { type GracefulShutdownReport } from "@steve.kite/stdlib"; export interface GracefulShutdown { readonly signal: AbortSignal; readonly shuttingDown: boolean; register(name: string, handler: () => Promise): () => void; pending(): readonly string[]; shutdown(options?: { timeout?: number; }): Promise; } export { type GracefulShutdownReport }; /** Adapts stdlib's coordinator to Rig's signal-shaped lifecycle boundary. */ export declare function gracefulShutdown(): GracefulShutdown;