import type { Logger } from '@polka-codes/core';
/**
 * Handles graceful shutdown and interruption
 */
export declare class InterruptHandler {
    #private;
    constructor(logger: Logger, agent: any);
    /**
     * Set up interrupt handlers
     */
    private setupInterruptHandlers;
    /**
     * Handle interrupt signal
     */
    private handleInterrupt;
    /**
     * Check if should stop
     */
    shouldStop(): boolean;
    /**
     * Get interrupt reason
     */
    getReason(): string;
    /**
     * Manually trigger interrupt
     */
    interrupt(reason?: string): void;
    /**
     * Reset interrupt state
     */
    reset(): void;
}
//# sourceMappingURL=interrupt.d.ts.map