import React from 'react'; import { BaseProps, Size } from '../_utils/props'; export { Size }; export interface SwitchProps extends BaseProps { defaultChecked?: boolean; checked?: boolean; disabled?: boolean; loading?: boolean; size?: Size; onChange?: (checked: boolean, event: React.MouseEvent) => void; checkedText?: React.ReactNode; uncheckedText?: React.ReactNode; prefixCls?: string; className?: string; style?: React.CSSProperties; children?: React.ReactNode; } declare const Switch: (props: SwitchProps) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; export default Switch;