import { FieldContainerProps, FieldErrors } from '@contember/ui';
import { FunctionComponent } from 'react';
import type { Props as SelectProps } from 'react-select';
import { ChoiceFieldData, DynamicSingleChoiceFieldProps, StaticSingleChoiceFieldProps } from '../ChoiceField';
export declare type SelectFieldProps = SelectFieldInnerPublicProps & (StaticSingleChoiceFieldProps | DynamicSingleChoiceFieldProps);
export declare const SelectField: FunctionComponent<SelectFieldProps>;
export interface SelectFieldInnerPublicProps extends Omit<FieldContainerProps, 'children'> {
    placeholder?: string;
    allowNull?: boolean;
    reactSelectProps?: Partial<SelectProps<any>>;
}
export interface SelectFieldInnerProps extends ChoiceFieldData.SingleChoiceFieldMetadata, SelectFieldInnerPublicProps {
    errors: FieldErrors | undefined;
}
export declare const SelectFieldInner: import("react").MemoExoticComponent<({ placeholder, allowNull, currentValue, data, errors, onSelect, onClear, reactSelectProps, onAddNew, onSearch, isLoading, ...fieldContainerProps }: SelectFieldInnerProps) => JSX.Element>;
//# sourceMappingURL=SelectField.d.ts.map