import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types'; export interface Option { id: string; name?: string; value: string; label: string; subLabel?: string; /** * @default false */ disabled?: boolean; /** * @default false */ required?: boolean; } export type CheckboxGroupDirection = 'vertical' | 'horizontal'; export interface CheckboxGroupProps { options?: Option[]; id?: string; /** TODO: better typings */ value?: any[]; /** Switch checkboxes layout direction. */ direction?: CheckboxGroupDirection; required?: boolean; /** Use VJoyLabel if you need to customize the label HTML. */ label?: string; labelSize?: TJoyLabelSizes; optionalLabel?: string; requiredMark?: boolean; } declare const _default: __VLS_WithTemplateSlots any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:value"?: ((value: any[]) => any) | undefined; }>, { required: boolean; value: any[]; direction: CheckboxGroupDirection; options: Option[]; labelSize: TJoyLabelSizes; requiredMark: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{ /** * Allows explicit declaration of VJoyCheckbox / VJoyCheckboxCard children in the group. * * **Important**: v-model has to be handled by consumer. */ default?: (() => any) | undefined; /** Customize the inner content of each checkboxes */ checkbox?: ((option: Option) => any) | undefined; }> & { /** * Allows explicit declaration of VJoyCheckbox / VJoyCheckboxCard children in the group. * * **Important**: v-model has to be handled by consumer. */ default?: (() => any) | undefined; /** Customize the inner content of each checkboxes */ checkbox?: ((option: Option) => any) | undefined; }>; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };