import type { VmIcon } from '..'; import type { SwapType, SwapChange } from './src/interface'; import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; import type { Install, Validator, BasicType } from '../_utils'; import Swap from "./src/swap"; export declare const VSwap: Install boolean; readonly validator?: Validator | undefined; }; readonly size: BasicType, string | number | null>; readonly type: BasicType, SwapType | null>; readonly iconOn: BasicType, null>; readonly iconOff: BasicType, null>; readonly onChange: BasicType, null>; }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (target: boolean) => boolean; }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly boolean; readonly validator?: Validator | undefined; }; readonly size: BasicType, string | number | null>; readonly type: BasicType, SwapType | null>; readonly iconOn: BasicType, null>; readonly iconOff: BasicType, null>; readonly onChange: BasicType, null>; }>> & { "onUpdate:modelValue"?: ((target: boolean) => any) | undefined; }, { readonly type: SwapType; readonly size: string | number; readonly modelValue: boolean; readonly onChange: SwapChange; readonly iconOn: VmIcon; readonly iconOff: VmIcon; }>>; /** swap 组件实例类型 */ export type SwapInstance = InstanceType; export * from './src/interface'; export default VSwap;