import { RegisterOptions } from 'react-hook-form';
import { StylesConfig } from 'react-select';
import { DisableMode } from '../formElements/common/common';
import { FormatOptionLabelContext, OptionType } from './SingleSelect';
export interface SingleSelectFieldValue {
    allOptions: string[];
    selectedOption?: string;
}
export interface SingleSelectFieldProps {
    defaultValue: SingleSelectFieldValue;
    name: string;
    customStyleConfig?: StylesConfig<OptionType, boolean>;
    isDisabled?: DisableMode;
    placeholder?: string;
    registerOptions?: RegisterOptions;
    /** See `SingleSelect.showChevron`. */
    showChevron?: boolean;
    style?: React.CSSProperties;
    /** See `SingleSelect.formatOptionLabel`. */
    formatOptionLabel?: (option: OptionType, meta: {
        context: FormatOptionLabelContext;
    }) => React.ReactNode;
    valueToLabel?: (value: string) => string;
}
declare const SingleSelectField: ({ name, registerOptions, defaultValue, placeholder, isDisabled, style, customStyleConfig, valueToLabel, formatOptionLabel, showChevron, }: SingleSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
export default SingleSelectField;
