import { RadioData, RadioDataValueType } from '../type'; interface UseListDatumProps { onChange?(values: RadioDataValueType): void; value?: RadioDataValueType; disabled?: boolean | ((data: RadioData) => boolean); defaultValue?: RadioDataValueType; valueKey: string; } declare function useRadioGroupValue(props: UseListDatumProps): { disabled: (dataItem: RadioData) => boolean; setByDataItem: (dataItem: RadioData) => void; setByDateValue: (dataValue: RadioDataValueType) => void; getCheckedStateByDataItem: (dataItem: RadioData) => any; getCheckedStateByDataValue: (dataValue: RadioDataValueType) => any; }; export default useRadioGroupValue;