import type { VmSize, VmIcon, HandleChange } from '..'; import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; import type { Install, Validator, BasicType } from '../_utils'; import Switch from "./src/switch"; export declare const VSwitch: Install boolean; readonly validator?: Validator | undefined; }; readonly size: BasicType, VmSize | null>; readonly disabled: BasicType; readonly icon: BasicType, null>; readonly closeColor: BasicType, string | null>; readonly activeColor: BasicType, string | null>; readonly activeText: BasicType, string | null>; readonly closeText: BasicType, string | null>; readonly square: BasicType; readonly iconSize: BasicType, string | number | null>; readonly onChange: BasicType, null>; }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (target: boolean) => string; }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly boolean; readonly validator?: Validator | undefined; }; readonly size: BasicType, VmSize | null>; readonly disabled: BasicType; readonly icon: BasicType, null>; readonly closeColor: BasicType, string | null>; readonly activeColor: BasicType, string | null>; readonly activeText: BasicType, string | null>; readonly closeText: BasicType, string | null>; readonly square: BasicType; readonly iconSize: BasicType, string | number | null>; readonly onChange: BasicType, null>; }>> & { "onUpdate:modelValue"?: ((target: boolean) => any) | undefined; }, { readonly icon: VmIcon; readonly size: VmSize; readonly disabled: boolean; readonly onChange: HandleChange; readonly iconSize: string | number; readonly closeText: string; readonly closeColor: string; readonly activeColor: string; readonly activeText: string; readonly square: boolean; }>>; /** switch 组件实例类型 */ export type SwitchInstance = InstanceType; export * from './src/interface'; export default VSwitch;