import { PropType } from "vue"; import { ElementSizes, ElementTypes } from '../../../typings'; export declare const SSwitchProps: { /** * @description 开关的绑定值 */ readonly modelValue: BooleanConstructor; /** * @description 组件大小(高度) */ readonly size: PropType; readonly type: PropType<"cyan" | ElementTypes>; /** * @description 开关状态为off时对应的文字 */ readonly inactiveText: StringConstructor; /** * @description 开关状态为on时对应的文字 */ readonly activeText: StringConstructor; /** * @description 开关状态为off时对应的图标 */ readonly inactiveIcon: StringConstructor; /** * @description 开关状态为on时对应的图标 */ readonly activeIcon: StringConstructor; /** * @description 开关滑块中的图标 */ readonly triggerIcon: StringConstructor; /** * @description 开关的颜色 */ readonly color: StringConstructor; /** * @description 是否禁用开关 */ readonly disabled: BooleanConstructor; /** * @description 是否存于加载中 */ readonly loading: BooleanConstructor; /** * @description 开关状态为on/off时文字是否放在开关的轨道中,此项会忽略对应图标 */ readonly textStatus: PropType<"outside" | "inside">; /** * @description 开关状态改变前的回调, 若设置此项则需要手动调用done函数来切换状态 */ readonly beforeChange: PropType<(done: () => void) => void>; }; export declare const SSwitchEmits: { "update:modelValue": (val: Boolean) => boolean; change: (status: 'off' | 'on') => boolean; };