import { computed, useId } from 'vue';
import { useUiAdapter } from '../adapter/useUiAdapter';
const props = defineProps();
const emit = defineEmits();
const adapter = useUiAdapter();
const generatedId = useId();
const resolvedId = computed(() => props.inputId ?? `ks-check-${generatedId}`);
const __VLS_ctx = {
    ...{},
    ...{},
    ...{},
    ...{},
    ...{},
};
let __VLS_components;
let __VLS_intrinsics;
let __VLS_directives;
__VLS_asFunctionalElement1(__VLS_intrinsics.label, __VLS_intrinsics.label)({
    ...{ class: "ks-check" },
    for: (__VLS_ctx.resolvedId),
});
/** @type {__VLS_StyleScopedClasses['ks-check']} */ ;
const __VLS_0 = (__VLS_ctx.adapter.components.Checkbox);
// @ts-ignore
const __VLS_1 = __VLS_asFunctionalComponent1(__VLS_0, new __VLS_0({
    ...{ 'onUpdate:modelValue': {} },
    inputId: (__VLS_ctx.resolvedId),
    modelValue: (__VLS_ctx.modelValue),
    disabled: (__VLS_ctx.disabled),
}));
const __VLS_2 = __VLS_1({
    ...{ 'onUpdate:modelValue': {} },
    inputId: (__VLS_ctx.resolvedId),
    modelValue: (__VLS_ctx.modelValue),
    disabled: (__VLS_ctx.disabled),
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
let __VLS_5;
const __VLS_6 = {
    /** @type {typeof __VLS_5.'update:modelValue'} */
    'onUpdate:modelValue': (...[$event]) => {
        return (__VLS_ctx.emit('update:modelValue', $event));
        // @ts-ignore
        [resolvedId, resolvedId, adapter, modelValue, disabled, emit,];
    },
};
var __VLS_3;
var __VLS_4;
__VLS_asFunctionalElement1(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
(__VLS_ctx.label);
// @ts-ignore
[label,];
const __VLS_export = (await import('vue')).defineComponent({
    __typeEmits: {},
    __typeProps: {},
});
export default {};
