import type { Slot } from 'vue'; import type { AvInteractiveProps } from '../../../../types/interfaces.types.js'; /** * AvToggle component props. */ export interface AvToggleProps extends AvInteractiveProps { /** * Boolean value linked to the input. */ modelValue?: boolean; /** * Indicates the purpose of the toggle. * @default undefined */ description?: string; /** * Unique id for the toggle. Used for accessibility. * @default `toggle-${crypto.randomUUID()}` */ id?: string; /** * Text to display next to the toggle (right) when it is active. * @default 'On' */ activeText?: string; /** * Text to display next to the toggle (right) when it is inactive. * @default 'Off' */ inactiveText?: string; /** * `name` attribute of the input * @default undefined */ name?: string; /** * Width of the active/inactive texts * @default '1.8rem' */ statusTextWidth?: string; } type __VLS_Props = AvToggleProps; type __VLS_Slots = { default?: Slot<{ active: boolean; }>; }; type __VLS_PublicProps = __VLS_Props & { modelValue?: boolean; }; declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };