import type { SegmentedLabeledOption as RcSegmentedLabeledOption, SegmentedProps as RCSegmentedProps, SegmentedRawOption } from 'rc-segmented'; import * as React from 'react'; import './index.less'; export declare type SizeType = 'small' | 'middle' | 'large' | undefined; export type { SegmentedValue } from 'rc-segmented'; interface SegmentedLabeledOptionWithoutIcon extends RcSegmentedLabeledOption { label: RcSegmentedLabeledOption['label']; } interface SegmentedLabeledOptionWithIcon extends Omit { label?: RcSegmentedLabeledOption['label']; /** Set icon for Segmented item */ icon: React.ReactNode; } export declare type SegmentedLabeledOption = SegmentedLabeledOptionWithIcon | SegmentedLabeledOptionWithoutIcon; export interface SegmentedProps extends Omit { rootClassName?: string; options: (SegmentedRawOption | SegmentedLabeledOption)[]; block?: boolean; size?: SizeType; } declare const Segmented: React.ForwardRefExoticComponent & React.RefAttributes>; export default Segmented; //# sourceMappingURL=index.d.ts.map