import { ReactNode } from 'react'; import { UiCoreLocale } from '../../../helpers/uiCoreLocale'; export interface EmojiChoiceOption { value: string; label: string; /** An emoji character. */ emoji?: string; /** An uploaded emoji image, used when there is no `emoji`. */ emojiImageSrc?: string; } export interface StyledEmojiChoiceProps { /** @figmaProp none — test hook */ dataTest: string; /** @figmaProp none — up to 5 options show as a radio list, more as a dropdown with the same rows */ options: readonly EmojiChoiceOption[]; value?: string | null; onValueChange?: (value: string, option: EmojiChoiceOption) => void; /** * @figmaProp none — an optional question: *Clear selection* under the radio list while an option is * chosen, as on `StyledDynamicSelect`; the dropdown clears with the field's own clear button. * Leave unset for a required question. */ onClear?: () => void; /** The question text. Shown above the options unless `aria-labelledby` points at a heading you render. */ question: string; 'aria-labelledby'?: string; /** @figmaProp Property 1 = "Read-only" | "Read-only(no answer)" */ readOnly?: boolean; name?: string; error?: boolean; helperText?: ReactNode; placeholder?: string; locale?: UiCoreLocale; className?: string; } /** * @figmaNode FtKQn5GurXgl2c7r4F9KFa#14961-181796 * Figma "emodji + text" (Questionnaires): radio, an 88px emoji in a 100px slot and 16/24 text in one * card per option. Property 1 Default/Hover/Focus/Selected/Hover-selected ← native hover, keyboard * focus and the chosen `value`; Read-only/Read-only(no answer) ← `readOnly`. Up to 5 options are a * radio list; more are the Figma dropdown (an autocomplete field whose list holds the same cards). */ export declare const StyledEmojiChoice: (props: StyledEmojiChoiceProps) => JSX.Element;