import type { KeyboardEvent } from 'react';
export type VimMode = 'normal' | 'insert';
interface UseVimModeOptions {
    enabled: boolean;
    onSend: () => void;
    textareaRef: React.RefObject<HTMLTextAreaElement>;
    setMessage: (message: string) => void;
}
interface UseVimModeReturn {
    vimMode: VimMode;
    setVimMode: (mode: VimMode) => void;
    handleVimNormalMode: (e: KeyboardEvent<HTMLTextAreaElement>) => boolean;
}
export declare function useVimMode({ enabled, onSend, textareaRef, setMessage, }: UseVimModeOptions): UseVimModeReturn;
export {};
//# sourceMappingURL=useVimMode.d.ts.map