import React from 'react'; import type { ControlGroupPropsBase } from '@splunk/react-ui/ControlGroup'; import type { RadioListPropsBaseControlled, RadioListChangeHandler } from '@splunk/react-ui/RadioList'; import type { Expand } from '@splunk/dashboard-types'; import { type RadioControlGroupValue } from './RadioControlGroupOption'; export type RadioChangeEvent = Parameters[0]; type RadioOnChangePayload = Parameters[1]; export type OnChangePayload = Expand<{ value: RadioControlGroupValue; } & Omit>; export type SelectiveControlChangeHandler = (event: RadioChangeEvent, data: OnChangePayload) => void; type ControlGroupProps = Pick; type RadioListProps = Pick; export type RadioControlGroupProps = ControlGroupProps & RadioListProps & { onChange: SelectiveControlChangeHandler; value: RadioControlGroupValue; children?: React.ReactNode; maxLabelWidth?: string | number; 'data-test'?: string; }; export declare const RadioControlGroup: { ({ defaultValue, disabled, name, onChange, value, children, maxLabelWidth, "data-test": dataTest, ...controlGroupProps }: RadioControlGroupProps): React.JSX.Element; Option: (props: import("./RadioControlGroupOption").RadioControlGroupOptionProps) => React.ReactNode; }; export {}; //# sourceMappingURL=RadioControlGroup.d.ts.map