import React from 'react'; type BuiltinFlavor = 'primary' | 'success' | 'danger' | 'warning' | 'neutral'; type ShadedFlavor = BuiltinFlavor | `${BuiltinFlavor}+` | `${BuiltinFlavor}-`; export interface TyRadioGroupProps extends Omit, 'onChange' | 'onInput'> { /** Currently selected value (matches one child ``) */ value?: string; /** Form field name */ name?: string; /** Group label rendered above the radios */ label?: string; /** Disable the entire group */ disabled?: boolean; /** Required field — renders required-icon next to the label */ required?: boolean; /** Error message rendered below the group */ error?: string; /** Layout direction for radio children */ orientation?: 'vertical' | 'horizontal'; /** Group size — propagates to all `` children */ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'; /** Group flavor — propagates to all `` children */ flavor?: ShadedFlavor | (string & {}); /** * Fires when selection changes (React convention) * Maps to native 'input' event from ty-radio-group */ onChange?: (event: CustomEvent) => void; /** * Fires on blur if value changed (native DOM behavior) * Maps to native 'change' event from ty-radio-group */ onChangeCommit?: (event: CustomEvent) => void; /** `` children */ children?: React.ReactNode; } export interface TyRadioGroupEventDetail { value: string; formValue: string; originalEvent: Event; } export declare const TyRadioGroup: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=TyRadioGroup.d.ts.map