import { Component } from 'react'; import { IDisabledContext } from '../disabled'; export interface ISwitchProps { checked?: boolean; onChange?: (checked: boolean) => void; disabled?: boolean; checkedText?: string; uncheckedText?: string; loading?: boolean; size?: 'default' | 'small'; className?: string; } export declare class Switch extends Component { static defaultProps: { size: string; }; static contextType: import("react").Context; context: IDisabledContext; toggle: () => void; render(): JSX.Element; } export default Switch;