import React from 'react'; type Size = 'micro' | 'small' | 'medium'; type Value = number | string | boolean; type OptionType = { label: string | number; value: Value; }; interface OnChangeProps { target: { label: string | number; name: string; value: Value; }; } interface UISwitchProps { disabled?: boolean; editable: boolean; name: string; onChange: (data: OnChangeProps) => void; options: OptionType[]; size?: Size; value: Value; } export declare class UISwitch extends React.PureComponent { static defaultProps: { editable: boolean; }; handleClick: ({ value, label }: OptionType) => () => void; render(): React.ReactElement; } export {};