import Vue from 'vue';

export declare class p5Switch extends Vue {
	// 展示dialog
	value: boolean

	// 开的文案
	ontext: string

	// 关的文案
	offtext: string

	// switch大小
	size: string

	// 设置不可用
	disabled: boolean

	/**
	 * 点击回调
	 * @param eventName 
	 */
	$emit(eventName: 'input', state: boolean): this;
}
