import type { CheckboxRootProps, CheckboxRootEmits } from 'reka-ui'; import type { VNode } from 'vue'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/checkbox'; import type { ButtonHTMLAttributes } from '../types/html'; import type { ComponentConfig } from '../types/tv'; type Checkbox = ComponentConfig; export interface CheckboxProps extends Pick, 'disabled' | 'required' | 'name' | 'value' | 'id' | 'defaultValue' | 'modelValue' | 'trueValue' | 'falseValue'>, /** @vue-ignore */ Omit { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; label?: string; description?: string; /** * @defaultValue 'air-primary' */ color?: Checkbox['variants']['color']; /** * @defaultValue 'list' */ variant?: Checkbox['variants']['variant']; /** * @defaultValue 'md' */ size?: Checkbox['variants']['size']; /** * Position of the indicator. * @defaultValue 'start' */ indicator?: Checkbox['variants']['indicator']; class?: any; b24ui?: Checkbox['slots']; } export interface CheckboxEmits extends CheckboxRootEmits { change: [event: Event]; } export interface CheckboxSlots { label?(props: { label: string | undefined; }): VNode[]; description?(props: { description: string | undefined; }): VNode[]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal & { onChange?: ((event: Event) => any) | undefined; "onUpdate:modelValue"?: ((value: "indeterminate" | T) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: CheckboxSlots; emit: ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: "indeterminate" | T) => void); }>) => import("vue").VNode & { __ctx?: Awaited; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};