import { RegisterOptions } from 'react-hook-form'; import { ID } from '@zeniai/client-epic-state'; import { DisableMode } from '../formElements/common/common'; export interface CreatableSingleSelectFieldValue { allOptions: string[]; selectedOption?: string; } export interface CreatableSingleSelectFieldProps { defaultValue: CreatableSingleSelectFieldValue; name: string; addIconInCreateLabel?: boolean; isDisabled?: DisableMode; isOptionRemovable?: boolean; placeholder?: string; registerOptions?: RegisterOptions; style?: React.CSSProperties; tagProperties?: { style: React.CSSProperties; tagName: string; isTagShownForOption: (selectedValue?: string) => boolean; }; getLabelForId?: (id: ID) => string; onSelectChange?: (selectedId: string) => void; } declare const CreatableSingleSelectField: ({ name, registerOptions, defaultValue, placeholder, isDisabled, style, addIconInCreateLabel, isOptionRemovable, tagProperties, onSelectChange, getLabelForId, }: CreatableSingleSelectFieldProps) => import("react/jsx-runtime").JSX.Element; export default CreatableSingleSelectField;