import { KeyCode } from '##/utils/types/KeyCode';
export type UseKeysPropKeys<ELEMENT = Element> = Partial<Record<KeyCode, React.KeyboardEventHandler<ELEMENT>>> & {
    [key: string]: React.KeyboardEventHandler;
};
export type UseKeysProps<ELEMENT = Element> = {
    keys: UseKeysPropKeys<ELEMENT>;
    onEvent?: React.KeyboardEventHandler<ELEMENT>;
    isActive: boolean;
};
export declare const useKeys: <ELEMENT = Element>(props: UseKeysProps<ELEMENT>) => React.KeyboardEventHandler<ELEMENT>;
