import { default as React } from 'react';
import { BaseProps } from '../../types';

export interface SegmentedControlItem {
    /** 选项唯一标识 */
    value: string;
    /** 显示标签 */
    label: React.ReactNode;
    /** 是否禁用该选项 */
    disabled?: boolean;
}
export interface SegmentedControlProps extends BaseProps {
    /** 选项列表 */
    items: SegmentedControlItem[];
    /** 当前选中值（受控）*/
    value?: string;
    /** 默认选中值（非受控）*/
    defaultValue?: string;
    /** 选项切换回调 */
    onChange?: (value: string) => void;
    /** 整体禁用 */
    disabled?: boolean;
    /** 无障碍 label */
    'aria-label'?: string;
}
export declare const SegmentedControl: React.ForwardRefExoticComponent<SegmentedControlProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=SegmentedControl.d.ts.map