import * as React from 'react'; export type SegmentedValue = string | number; export type SegmentedRawOption = SegmentedValue; export interface SegmentedLabeledOption { className?: string; disabled?: boolean; label: React.ReactNode; value: ValueType; /** * html `title` property for label */ title?: string; } type SegmentedOptions = (T | SegmentedLabeledOption)[]; export interface SegmentedProps extends Omit, 'defaultValue' | 'value' | 'onChange'> { options: SegmentedOptions; defaultValue?: ValueType; value?: ValueType; onChange?: (value: ValueType) => void; disabled?: boolean; prefixCls?: string; direction?: 'ltr' | 'rtl'; motionName?: string; } declare const Segmented: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const TypedSegmented: (props: SegmentedProps & { ref?: React.ForwardedRef | undefined; }) => ReturnType; export default TypedSegmented;