//#region src/SegmentedControl/SegmentedControl.types.d.ts type SegmentedControlOption = { /** The text label displayed on the option button. */ label: string; /** The value associated with this option, passed to `onChange` when selected. */ value: T; }; type SegmentedControlProps = { /** The list of options to render as selectable pill buttons. */ options: SegmentedControlOption[]; /** The currently selected value. The matching option will be displayed as active. */ value: T; /** Called with the selected option's value when a pill button is clicked. */ onChange?: (value: T) => void; /** Additional CSS classes to apply to the container element. */ extraClassNames?: string; /** HTML id attribute for the container element. */ id?: string; /** Test ID attribute for the container element, used in automated testing. */ testId?: string; /** Accessible label for the group of option buttons. */ ariaLabel?: string; }; //#endregion export { SegmentedControlOption, SegmentedControlProps };