import './RadioGroup.css'; import React from 'react'; import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes'; export declare const cnRadioGroup: import("@bem-react/classname").ClassNameFormatter; export declare const radioGroupDirections: readonly ["column", "row"]; export declare type RadioGroupDirection = typeof radioGroupDirections[number]; export declare const radioGroupDefaultDirection: RadioGroupDirection; export declare const radioGroupSizes: readonly ["m", "l"]; export declare type RadioGroupPropSize = typeof radioGroupSizes[number]; export declare const radioGroupDefaultSize: RadioGroupPropSize; export declare const radioGroupViews: readonly ["primary", "ghost"]; export declare type RadioGroupPropView = typeof radioGroupViews[number]; export declare const radioGroupDefaultView: RadioGroupPropView; declare type CommonProps = { value?: ITEM | null; items: ITEM[]; getLabel: (item: ITEM) => string; getDisabled?: (item: ITEM) => boolean | undefined; onChange: (props: { e: React.ChangeEvent; value: ITEM; }) => void; name: string; direction?: RadioGroupDirection; size?: RadioGroupPropSize; view?: RadioGroupPropView; disabled?: boolean; className?: string; }; declare type Props = PropsWithHTMLAttributesAndRef, HTMLDivElement>; declare type RadioGroup = (props: Props) => React.ReactElement | null; export declare const RadioGroup: RadioGroup; export {};