import { InlineMessageProps, MQ, FormProps, EventContext } from 'newskit'; import { ButtonGroupProps } from '../ButtonGroup'; import { IntroductionProps } from '../Introduction'; export interface RadioFormInput { id: string; text: string; hasInputTextArea: boolean; InputTextAreaSize?: 'small' | 'medium' | 'large'; maxLength?: number; assistiveText?: string; isDefaultValue?: boolean; defaultInputText?: string; tealiumContext?: EventContext; } export interface RadioFormResponse { answer: string; other?: string; } interface Overrides { typographyPreset?: MQ; marginBlockEnd?: MQ; stylePreset?: string; } export interface RadioFormProps { onSubmit: (response: RadioFormResponse) => void; introductionProps?: Omit; radioInputList: RadioFormInput[]; radioInputName?: string; size?: 'small' | 'medium' | 'large'; resolver: FormProps['resolver']; radioInputListOverrides?: Overrides; errorOverrides?: Overrides; inputTextAreaOverrides?: Omit & { marginBlockStart?: MQ; }; inputAssistiveTextOverrides?: Overrides; characterCountOverrides?: Overrides; marginBlockEnd?: MQ; buttonGroupProps?: ButtonGroupProps; introductionInlineMessage?: string; introductionInlineMessageOverrides?: Omit & { marginBlockEnd?: MQ; }; gridProps?: { xsMargin: string; xsColumnGutter: string; xsRowGutter: string; }; isFooterVisible?: boolean; } export {};