import type { ComponentSize, IconSlotType } from '../..'; import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; import type { Install } from '../../utils'; import Switch from "./src/switch"; export declare const FzSwitch: Install; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly size: { readonly type: PropType; }; readonly width: { readonly type: PropType; readonly default: ""; }; readonly inlinePrompt: { readonly type: BooleanConstructor; readonly default: false; }; readonly inactiveActionIcon: { readonly type: PropType; }; readonly activeActionIcon: { readonly type: PropType; }; readonly activeIcon: { readonly type: PropType; }; readonly inactiveIcon: { readonly type: PropType; }; readonly activeText: { readonly type: StringConstructor; readonly default: ""; }; readonly inactiveText: { readonly type: StringConstructor; readonly default: ""; }; readonly activeValue: { readonly type: PropType; readonly default: true; }; readonly inactiveValue: { readonly type: PropType; readonly default: false; }; readonly name: { readonly type: StringConstructor; readonly default: ""; }; readonly validateEvent: { readonly type: BooleanConstructor; readonly default: true; }; readonly beforeChange: { readonly type: PropType<() => boolean | Promise>; }; readonly id: StringConstructor; readonly tabindex: { readonly type: PropType; }; }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (val: string | number | boolean) => boolean; change: (val: string | number | boolean) => boolean; input: (val: string | number | boolean) => boolean; }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly size: { readonly type: PropType; }; readonly width: { readonly type: PropType; readonly default: ""; }; readonly inlinePrompt: { readonly type: BooleanConstructor; readonly default: false; }; readonly inactiveActionIcon: { readonly type: PropType; }; readonly activeActionIcon: { readonly type: PropType; }; readonly activeIcon: { readonly type: PropType; }; readonly inactiveIcon: { readonly type: PropType; }; readonly activeText: { readonly type: StringConstructor; readonly default: ""; }; readonly inactiveText: { readonly type: StringConstructor; readonly default: ""; }; readonly activeValue: { readonly type: PropType; readonly default: true; }; readonly inactiveValue: { readonly type: PropType; readonly default: false; }; readonly name: { readonly type: StringConstructor; readonly default: ""; }; readonly validateEvent: { readonly type: BooleanConstructor; readonly default: true; }; readonly beforeChange: { readonly type: PropType<() => boolean | Promise>; }; readonly id: StringConstructor; readonly tabindex: { readonly type: PropType; }; }>> & { "onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined; onChange?: ((val: string | number | boolean) => any) | undefined; onInput?: ((val: string | number | boolean) => any) | undefined; }, { readonly loading: boolean; readonly name: string; readonly disabled: boolean; readonly modelValue: string | number | boolean; readonly width: string | number; readonly inlinePrompt: boolean; readonly activeText: string; readonly inactiveText: string; readonly activeValue: string | number | boolean; readonly inactiveValue: string | number | boolean; readonly validateEvent: boolean; }, {}>>; export type SwitchInstance = InstanceType; export * from './src/interface'; export default FzSwitch;