
"use client";
import { TextProps } from "../../Text.js";
import { IconProps } from "../../Icon.js";
import * as _$react_jsx_runtime0 from "react/jsx-runtime";

//#region src/components/experimental/client/SegmentedControl.d.ts
interface SegmentedControlOption<T extends string> {
  label: string;
  value: T;
  startIcon?: IconProps['name'];
  endIcon?: IconProps['name'];
  disabled?: boolean;
}
interface SegmentedControlProps<T extends string> {
  value?: T;
  options: ReadonlyArray<SegmentedControlOption<T>>;
  onChange?: (value: T) => void;
  label?: string;
  /** Text variant for the segment labels. */
  textVariant?: TextProps['variant'];
}
declare function SegmentedControl<T extends string>({
  options,
  value,
  onChange,
  label,
  textVariant
}: SegmentedControlProps<T>): _$react_jsx_runtime0.JSX.Element;
declare namespace SegmentedControl {
  var displayName: string;
}
//#endregion
export { SegmentedControl, type SegmentedControlOption, type SegmentedControlProps };