/// <reference types="react" />
import { OptionProps, SelectProps } from './types';
declare type SelectHookType = {
    controlId?: string;
    labelId?: string;
    listboxId: string;
    selected?: OptionProps;
    selectClosestOption: (incremental: number) => void;
    options: OptionProps[];
    onSelect: (newOption: OptionProps) => void;
    isExpanded: boolean;
    setIsExpanded: React.Dispatch<React.SetStateAction<boolean>>;
    setSearch: React.Dispatch<React.SetStateAction<string>>;
};
declare const useSelect: ({ options, id, value, defaultValue, onChange, label, }: SelectProps) => SelectHookType;
export default useSelect;
//# sourceMappingURL=useSelect.d.ts.map