import { ExtractPublicPropTypes } from "../../_utils/naive/extract-public-props.js"; import { MaybeArray } from "../../_utils/vue/call.js"; import "../../_utils/index.js"; import { SwitchSize, SwitchSpinProps } from "./public-types.js"; import { SwitchTheme, SwitchThemeOverrides } from "../styles/light.js"; import "../styles/index.js"; import { OnUpdateValue } from "./interface.js"; import { CSSProperties, PropType, Ref, SlotsType, VNode } from "vue"; //#region src/switch/src/Switch.d.ts declare const switchProps: { readonly size: PropType; readonly value: { readonly type: PropType; readonly default: undefined; }; readonly loading: BooleanConstructor; readonly defaultValue: { readonly type: PropType; readonly default: false; }; readonly disabled: { readonly type: PropType; readonly default: undefined; }; readonly round: { readonly type: BooleanConstructor; readonly default: true; }; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly checkedValue: { readonly type: PropType; readonly default: true; }; readonly uncheckedValue: { readonly type: PropType; readonly default: false; }; readonly railStyle: PropType<(params: { focused: boolean; checked: boolean; }) => string | CSSProperties>; readonly rubberBand: { readonly type: BooleanConstructor; readonly default: true; }; readonly spinProps: PropType; /** @deprecated */ readonly onChange: PropType | undefined>; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }; type SwitchProps = ExtractPublicPropTypes; interface SwitchSlots { checked?: () => VNode[]; 'checked-icon'?: () => VNode[]; icon?: () => VNode[]; unchecked?: () => VNode[]; 'unchecked-icon'?: () => VNode[]; } declare const _default: import("vue").DefineComponent; readonly value: { readonly type: PropType; readonly default: undefined; }; readonly loading: BooleanConstructor; readonly defaultValue: { readonly type: PropType; readonly default: false; }; readonly disabled: { readonly type: PropType; readonly default: undefined; }; readonly round: { readonly type: BooleanConstructor; readonly default: true; }; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly checkedValue: { readonly type: PropType; readonly default: true; }; readonly uncheckedValue: { readonly type: PropType; readonly default: false; }; readonly railStyle: PropType<(params: { focused: boolean; checked: boolean; }) => string | CSSProperties>; readonly rubberBand: { readonly type: BooleanConstructor; readonly default: true; }; readonly spinProps: PropType; /** @deprecated */ readonly onChange: PropType | undefined>; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }>, { handleClick: () => void; handleBlur: () => void; handleFocus: () => void; handleKeyup: (e: KeyboardEvent) => void; handleKeydown: (e: KeyboardEvent) => void; mergedRailStyle: import("vue").ComputedRef; pressed: Ref; mergedClsPrefix: Ref; mergedValue: import("vue").ComputedRef; checked: import("vue").ComputedRef; mergedDisabled: import("vue").ComputedRef; cssVars: Ref | undefined; themeClass: Ref | undefined; onRender: (() => void) | undefined; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; readonly value: { readonly type: PropType; readonly default: undefined; }; readonly loading: BooleanConstructor; readonly defaultValue: { readonly type: PropType; readonly default: false; }; readonly disabled: { readonly type: PropType; readonly default: undefined; }; readonly round: { readonly type: BooleanConstructor; readonly default: true; }; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly checkedValue: { readonly type: PropType; readonly default: true; }; readonly uncheckedValue: { readonly type: PropType; readonly default: false; }; readonly railStyle: PropType<(params: { focused: boolean; checked: boolean; }) => string | CSSProperties>; readonly rubberBand: { readonly type: BooleanConstructor; readonly default: true; }; readonly spinProps: PropType; /** @deprecated */ readonly onChange: PropType | undefined>; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }>> & Readonly<{}>, { readonly loading: boolean; readonly value: string | number | boolean | undefined; readonly disabled: boolean | undefined; readonly round: boolean; readonly defaultValue: string | number | boolean; readonly checkedValue: string | number | boolean; readonly uncheckedValue: string | number | boolean; readonly rubberBand: boolean; }, SlotsType, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { SwitchProps, SwitchSlots, _default as default, switchProps };