/**
 * Worker Shutdown Coordinator
 *
 * Centralized graceful shutdown handling for the worker management system.
 * Coordinates orderly shutdown of all worker modules and the WorkerFactory.
 */
export interface IShutdownOptions {
    /**
     * Timeout for graceful shutdown in milliseconds
     */
    timeout?: number;
    /**
     * Whether to force exit after timeout
     */
    forceExit?: boolean;
    /**
     * Signal that triggered shutdown (SIGTERM, SIGINT, etc.)
     */
    signal?: string;
}
interface IShutdownState {
    isShuttingDown: boolean;
    completedAt: Date | null;
    startedAt: Date | null;
    reason: string | null;
}
/**
 * Perform graceful shutdown of all worker modules
 */
declare function shutdown(options?: IShutdownOptions): Promise<void>;
/**
 * Register process signal handlers for graceful shutdown
 */
declare function registerShutdownHandlers(): void;
/**
 * Unregister process signal handlers (for hot reload/testing)
 */
declare function unregisterShutdownHandlers(): void;
/**
 * Check if system is currently shutting down
 */
declare function isShuttingDown(): boolean;
/**
 * Get current shutdown state
 */
declare function getShutdownState(): Readonly<IShutdownState>;
export declare const WorkerShutdown: Readonly<{
    /**
     * Perform graceful shutdown of all worker modules
     */
    shutdown: typeof shutdown;
    /**
     * Register process signal handlers for graceful shutdown
     */
    registerShutdownHandlers: typeof registerShutdownHandlers;
    /**
     * Unregister process signal handlers (for hot reload/testing)
     */
    unregisterShutdownHandlers: typeof unregisterShutdownHandlers;
    /**
     * Check if system is currently shutting down
     */
    isShuttingDown: typeof isShuttingDown;
    /**
     * Get current shutdown state
     */
    getShutdownState: typeof getShutdownState;
}>;
export {};
//# sourceMappingURL=WorkerShutdown.d.ts.map