import { InputHTMLAttributes, Ref, ChangeEvent, PureComponent } from 'react';
import PropTypes from 'prop-types';
import { CombinePropsAndAttributes } from '../../helpers';
import { Primitive, InputValue } from '../common/types';
interface ISelfProps {
    elementRef?: Ref<HTMLInputElement>;
    type: 'checkbox' | 'radio';
    value?: InputValue;
    onChange?(value: Primitive, event: ChangeEvent): any;
}
export declare type IProps = CombinePropsAndAttributes<ISelfProps, InputHTMLAttributes<HTMLInputElement>>;
export default class Switch extends PureComponent<IProps> {
    static propTypes: {
        elementRef: PropTypes.Requireable<(...args: any[]) => any>;
        type: PropTypes.Validator<string>;
        onChange: PropTypes.Requireable<(...args: any[]) => any>;
        value: PropTypes.Requireable<string | number>;
    };
    render(): JSX.Element;
    private onChange;
}
export {};
//# sourceMappingURL=Switch.d.ts.map