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