import * as React from 'react'; import { INTENT } from '../../index'; declare type SwitcherChange = (checked: boolean, event: MouseEvent) => void; export interface ISwitcherProps { name?: string; prefixCls?: string; className?: string; size?: 'small' | 'default'; checked?: boolean; defaultChecked?: boolean; onChange?: SwitcherChange; onClick?: SwitcherChange; checkedChildren?: React.ReactNode; unCheckedChildren?: React.ReactNode; disabled?: boolean; loading?: boolean; autoFocus?: boolean; style?: React.CSSProperties; title?: string; leftText?: React.ReactNode; rightText?: React.ReactNode; 'data-qaid'?: string; intent?: INTENT.DEFAULT | INTENT.DANGER | INTENT.PRIMARY; } export declare class Switcher extends React.Component { static defaultProps: { intent: INTENT; }; render(): JSX.Element; } export {};