/** * @file 组件 switch * @author panming */ import Icon from '../icon'; import './style/index.less'; import Base from 'santd/base'; import { State, Props, Computed } from './interface'; export default class Switch extends Base { static template: string; static components: { 's-icon': typeof Icon; }; initData(): { sizeMap: { large: string; small: string; }; disabled: boolean; defaultChecked: boolean; checked: boolean; loading: boolean; }; inited(): void; static computed: { classes(this: Switch): string[]; }; attached(): void; setChecked(checked: boolean): void; toggle(): void; handleKeyDown(e: { keyCode: number; }): void; focus(): void; blur(): void; handleMouseUp(e: MouseEvent): void; }