import { KeyboardEventHandler, RefObject } from 'react';
declare type useSelectWithArrowKeysProps = {
    selected: number;
    onSelect: (nextSelected: number) => void;
    numTiles: number;
};
declare type useSelectWithArrowKeys = (containerRef: RefObject<HTMLElement>, props: useSelectWithArrowKeysProps) => {
    onKeyDown: KeyboardEventHandler;
};
export declare const useSelectWithArrowKeys: useSelectWithArrowKeys;
export {};
