import type { ReactNode } from '@byted-doubao-apps/framework'; import type { RadioGroupProps as TaroRadioGroupProps } from '@tarojs/components'; export type MappableTaroRadioGroupProps = Omit & { disabled?: boolean; }; type CommonEvent = { type: string; timeStamp: number; target: { id: string; tagName: string; dataset: Record; }; currentTarget: { id: string; tagName: string; dataset: Record; }; detail: T; preventDefault: () => void; stopPropagation: () => void; }; type MapRadioGroupPropsResult = { mapped: Record; unsupported: string[]; groupId: string; resolvedDisabled: boolean; }; type CheckedRadioSelection = { hasCheckedRadio: boolean; selectedValue: string | null; missingValueCount: number; }; export declare function mapRadioGroupProps(props: MappableTaroRadioGroupProps): MapRadioGroupPropsResult; export declare function resolveCheckedRadioSelection(children: ReactNode): CheckedRadioSelection; export declare function resolveGroupSelectedValue(hasCheckedRadio: boolean, checkedValue: string | null, uncontrolledValue: string | null): string | null; export declare function shouldDispatchGroupChange(currentValue: string | null, nextValue: string): boolean; export declare function toRadioGroupChangeEvent(detail: { value: string; }, type: string, groupId: string): CommonEvent<{ value: string; }>; export {}; //# sourceMappingURL=map.d.ts.map