import React from 'react';
export declare type SwitchProps = {
    defaultChecked?: boolean;
    checked?: boolean;
    disabled?: boolean;
    loading?: boolean;
    size?: 'sm' | 'md' | 'lg';
    onChange?: (checked: boolean, event: React.MouseEvent) => void;
    checkedText?: React.ReactNode;
    uncheckedText?: React.ReactNode;
    prefixCls?: string;
    className?: string;
    style?: React.CSSProperties;
    children?: React.ReactNode;
} & typeof defaultProps;
declare const defaultProps: {
    prefixCls: string;
    size: string;
};
declare const Switch: {
    (props: SwitchProps): JSX.Element;
    defaultProps: {
        prefixCls: string;
        size: string;
    };
};
export default Switch;
