/**
 * Hook for global keyboard shortcuts
 * Handles shortcuts like Ctrl+C (with double-press to exit), Escape, etc.
 */
import type React from 'react';
import type { CLIAction } from '../state/actions.js';
import type { CLIState } from '../state/types.js';
import type { TuiAgentBackend } from '../agent-backend.js';
interface UseKeyboardShortcutsProps {
    state: CLIState;
    dispatch: React.Dispatch<CLIAction>;
    agent: TuiAgentBackend;
}
/**
 * Manages global keyboard shortcuts
 * - Ctrl+C: Cancel processing (if running) or show exit warning (press again to exit)
 * - Escape: Cancel processing or close overlays
 */
export declare function useKeyboardShortcuts({ state, dispatch, agent }: UseKeyboardShortcutsProps): void;
export {};
//# sourceMappingURL=useKeyboardShortcuts.d.ts.map