import { CommonReactSelectStylesProps } from '@contember/ui';
import type { Props as SelectProps } from 'react-select';
import type { ChoiceFieldData } from '../ChoiceField';
export interface UseCommonReactSelectPropsProps<T> extends Omit<CommonReactSelectStylesProps, 'isInvalid'> {
    reactSelectProps: Partial<SelectProps<any>> | undefined;
    placeholder: string | undefined;
    data: ChoiceFieldData.Options<T>;
    isInvalid: boolean;
    onSearch?: (input: string) => void;
}
export declare const useCommonReactSelectProps: <T>({ reactSelectProps, placeholder, data, isInvalid, menuZIndex, onSearch, }: UseCommonReactSelectPropsProps<T>) => SelectProps<ChoiceFieldData.SingleOption<T>, boolean, never>;
//# sourceMappingURL=useCommonReactSelectProps.d.ts.map