import { ChangeEvent } from '../utils';
import { SelectOptionData, SelectValue } from './select.types';
import { UseSelectProps } from './useSelect.types';
export declare const getOptionText: (value: SelectValue, options: SelectOptionData[]) => SelectValue;
/** Handles controlled/uncontrolled value state. Supports single and multiple values. */
export default function useSelect(props: UseSelectProps): {
    onChange: (e: ChangeEvent) => void;
    value: SelectValue | SelectValue[] | undefined;
    valueText: SelectValue | undefined;
};
export type UseSelectReturnType = ReturnType<typeof useSelect>;
//# sourceMappingURL=useSelect.d.ts.map