import { default as React } from 'react'; import { SegmentedProps as AntSegmentedProps } from 'antd'; import { BaseComponentProps, DataSetConfig } from '../../types/common'; interface SegmentedSemanticStyles { root?: React.CSSProperties; item?: React.CSSProperties; label?: React.CSSProperties; icon?: React.CSSProperties; } interface SegmentedOption { label: string; value: string; icon?: string; disabled?: boolean; } export interface AndSegmentedProps extends Omit, BaseComponentProps, DataSetConfig { /** 选项配置 */ options?: SegmentedOption[] | string; /** 当前值 */ value?: string; /** 默认值 */ defaultValue?: string; /** 是否撑满 */ block?: boolean; /** 是否禁用 */ disabled?: boolean; /** 尺寸 */ size?: 'large' | 'middle' | 'small'; /** 是否垂直 */ vertical?: boolean; /** 形状 */ shape?: 'default' | 'round'; /** 变化动作 */ changeAction?: string; /** 自定义 onChange */ onChange?: (value: string) => void; /** Semantic DOM 样式 */ styles?: SegmentedSemanticStyles | string; /** Design Token */ token?: Record | string; } export declare const AndSegmented: React.FC; export default AndSegmented; //# sourceMappingURL=index.d.ts.map