import * as react from 'react'; import { CSSProperties } from 'react'; type SegmentedSize = "sm" | "md"; interface SegmentedOption { label: string; value: T; disabled?: boolean; } interface SegmentedProps { options: SegmentedOption[]; value: T; onChange: (value: T) => void; size?: SegmentedSize; fullWidth?: boolean; className?: string; style?: CSSProperties; } declare function Segmented({ options, value, onChange, size, fullWidth, className, style, }: SegmentedProps): react.JSX.Element; export { Segmented, type SegmentedOption, type SegmentedProps, type SegmentedSize };