import type { Slot } from 'vue'; import type { AvInteractiveProps } from '../../../../types/interfaces.types.js'; /** * AvCheckbox component props */ export interface AvCheckboxProps extends AvInteractiveProps { /** * Unique ID of the component * @default `checkbox-${crypto.randomUUID()}` */ id?: string; /** * Custom icon to add between the checkbox and the label (Iconify naming convention) */ icon?: string; /** * Name of the field `` */ name: string; /** * Indicates if the checkbox is mandatory * @default false */ required?: boolean; /** * Value associated to the checkbox */ value: string | number | boolean; /** * Displays the checkbox in its small version * @default false */ small?: boolean; /** * Displays the checkbox in its inline version * @default false */ inline?: boolean; /** * Label to be displayed next to the checkbox * This prop is optional if you use the `label` slot. */ label?: string; /** * Error message to be displayed under the checkbox * @default '' */ errorMessage?: string; /** * Valid message to be displayed under the checkbox * @default '' */ validMessage?: string; /** * Hint to be displayed under the checkbox * @default '' */ hint?: string; } type __VLS_Props = AvCheckboxProps; /** * Slots available in the AvCheckbox component. * * @slot label - Slot for the checkbox label. */ type __VLS_Slots = { /** * Slot for the checkbox label */ label?: Slot; }; type __VLS_PublicProps = __VLS_Props & { modelValue: (string | number | boolean | undefined)[]; }; declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (value: (string | number | boolean | undefined)[]) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:modelValue"?: ((value: (string | number | boolean | undefined)[]) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };