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; }; }; export declare interface CheckboxProps { /** * Whether the checkbox is currently checked based on the current value. * Either defined by a boolean, or whether `checked` as an array includes `value`. */ checked: boolean | Array; /** * Whether the checkbox is in an error state (optional). For error styling without error text. * * @deprecated Just pass `error-text` instead. */ hasError?: boolean; /** * Unique ID for the checkbox, required for accessibility purposes */ id?: string; /** * Label text to display with checkbox */ label?: string; /** * Error text to display. Replaces `hintText` (if provided) and adds error styling (overrides `hasError`). */ errorText?: string; /** * Displays text below the input; hidden when the isReadOnly prop is truthy. */ hintText?: string; /** * @deprecated use the `checked` prop instead */ modelValue?: boolean | Array; /** * The value of the checkbox. */ value?: string | number; /** * Whether the checkbox is disabled. */ disabled?: boolean; } declare const _default: __VLS_WithTemplateSlots, { errorId: undefined; errorText: string; hasError: boolean; hintText: string; id: undefined; label: undefined; modelValue: undefined; value: undefined; disabled: boolean; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:checked": (value: boolean | (string | number)[]) => void; }, string, PublicProps, Readonly, { errorId: undefined; errorText: string; hasError: boolean; hintText: string; id: undefined; label: undefined; modelValue: undefined; value: undefined; disabled: boolean; }>>> & Readonly<{ "onUpdate:checked"?: ((value: boolean | (string | number)[]) => any) | undefined; }>, { disabled: boolean; label: string; id: string; hasError: boolean; errorText: string; hintText: string; modelValue: boolean | (string | number)[]; value: string | number; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: {}): any; hint?(_: {}): any; }>; export default _default; export { }