import { RefObject } from 'react'; interface Options { panelRef: RefObject; inputRef?: RefObject; onClose: () => void; } /** * Panel-scoped keyboard shortcuts for the AI assistant. * * All shortcuts only fire when the assistant panel (or one of its children) * has focus, so they never override the host page's own shortcuts. We also * deliberately avoid the bare `Ctrl+N`/`Cmd+N`/`Ctrl+E`/`Ctrl+W` set the * browser owns at the OS level — those couldn't be cancelled reliably * anyway and were just adding visible "shortcut listed, doesn't work" * inconsistencies. The shortcuts here match the in-app shortcuts modal. * * - Escape: Close panel * - Ctrl/Cmd+Shift+N: New conversation * - Ctrl/Cmd+Shift+E: Export (triggers click on export button) * - /: Focus input (only when no input/textarea is already focused) */ export declare function useAssistantKeyboardShortcuts({ panelRef, inputRef, onClose }: Options): void; export {}; //# sourceMappingURL=useAssistantKeyboardShortcuts.d.ts.map