import { default as React } from 'react'; import { FeedbackTextProps } from '../../../../tedi/components/form/feedback-text/feedback-text'; import { FormLabelProps } from '../../../../tedi/components/form/form-label/form-label'; import { BreakpointSupport } from '../../../helpers'; import { Direction, RowProps } from '../../layout/grid'; import { CheckboxProps } from '../checkbox/checkbox'; import { ChoiceGroupIndeterminateState, ChoiceGroupItemColor, ChoiceGroupItemLayout, ChoiceGroupItemType, ChoiceGroupItemVariant, ChoiceGroupValue } from './choice-group.types'; import { ExtendedChoiceGroupItemProps } from './components/choice-group-item/choice-group-item'; interface ChoiceGroupAllProps extends Omit { id: string; items: ExtendedChoiceGroupItemProps[]; name: string; label: React.ReactNode | string; inputType?: ChoiceGroupItemType; helper?: FeedbackTextProps; className?: string; defaultValue?: ChoiceGroupValue; value?: ChoiceGroupValue; onChange?: (value: ChoiceGroupValue) => void; variant?: ChoiceGroupItemVariant; color?: ChoiceGroupItemColor; direction?: Direction; layout?: ChoiceGroupItemLayout; rowProps?: RowProps; showIndicator?: boolean; indeterminateCheck?: boolean | string | ((state: ChoiceGroupIndeterminateState) => string); indeterminateCheckProps?: { indented?: boolean; } & Partial>; } export interface ChoiceGroupProps extends BreakpointSupport { } export declare const ChoiceGroup: { (props: ChoiceGroupProps): React.ReactElement; Item: (props: ExtendedChoiceGroupItemProps) => React.ReactElement; }; export default ChoiceGroup;