import { RegisterOptions } from 'react-hook-form'; import { Person } from '@zeniai/client-epic-state'; import { DisableMode } from '../common/common'; export interface UserSingleSelectWithSubtitlesFieldValue { allUsers: Person[]; selectedUser?: string; } export interface Props { name: string; value: UserSingleSelectWithSubtitlesFieldValue; bigMarginRightForSmallScreens?: boolean; disabledOptionHint?: string; isDisabled?: DisableMode; isValuePlacedAtEnd?: boolean; optionStyles?: React.CSSProperties; placeholderLabel?: string; registerOptions?: RegisterOptions; showAvatarAndSubtitles?: boolean; showOneOffLabel?: { label: string; position: "top" | "bottom"; subtitles: string[]; value: string; }; showOnlyAvatar?: boolean; valueToSubtitle: (value: string) => string[]; isOptionDisabled?: (value: string) => boolean; } declare const UserSingleSelectWithSubtitlesField: ({ name, placeholderLabel, registerOptions, value: defaultValue, valueToSubtitle, showOneOffLabel, isValuePlacedAtEnd, isDisabled, isOptionDisabled, showOnlyAvatar, showAvatarAndSubtitles, disabledOptionHint, bigMarginRightForSmallScreens, }: Props) => import("react/jsx-runtime").JSX.Element; export default UserSingleSelectWithSubtitlesField;