/// <reference types="react" />
interface InputHandleKeyDownType<T> {
    onEnterPress?: (e: React.KeyboardEvent<T>) => void;
    onKeyDown?: (e: React.KeyboardEvent<T>) => void;
}
export default function useInputHandleKeyDown<T extends HTMLInputElement | HTMLTextAreaElement>({ onEnterPress, onKeyDown }: InputHandleKeyDownType<T>): (e: React.KeyboardEvent<T>) => void;
export {};
