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