export interface ShutdownCallbacks {
    onGraceful: () => void;
    onForceKill: () => void;
}
export interface ShutdownManagerOptions {
    callbacks: ShutdownCallbacks;
    gracefulTimeoutMs?: number;
}
export declare class ShutdownManager {
    private readonly callbacks;
    private readonly gracefulTimeoutMs;
    private state;
    private timeoutId;
    private readonly sigintHandler;
    constructor(options: ShutdownManagerOptions);
    install(): void;
    cleanup(): void;
    private handleSigint;
    private beginGracefulShutdown;
    private forceShutdown;
    private clearTimeout;
}
//# sourceMappingURL=shutdownManager.d.ts.map