import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; declare const _default: __VLS_WithTemplateSlots, { checked: boolean; disabled: boolean; hintText: string; id: undefined; label: string; name: string; value: string; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:checked": (value: boolean | (string | number)[] | undefined) => void; }, string, PublicProps, Readonly, { checked: boolean; disabled: boolean; hintText: string; id: undefined; label: string; name: string; value: string; }>>> & Readonly<{ "onUpdate:checked"?: ((value: boolean | (string | number)[] | undefined) => any) | undefined; }>, { name: string; disabled: boolean; label: string; id: string; hintText: string; value: string | number; checked: boolean | (string | number)[]; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { hint?(_: {}): any; }>; export default _default; export declare interface SwitchProps { /** * The current checked value, can be a boolean or an array of values */ checked?: boolean | Array; /** * Prevent the user from changing the switch state. */ disabled?: boolean; /** * Displays text below the input; hidden when the isReadOnly prop is truthy. */ hintText?: string; /** * Unique ID for the switch, required for accessibility purposes */ id?: string; /** * Label text to display with switch */ label?: string; /** * HTML name property */ name?: string; /** * Value associated with switch when it is `checked`. This value is * used to compare against `checked` property when passed as an array. */ value?: string | number; } export { }