import { AllowedComponentProps, VNodeProps } from '../common' /** * 复选框组属性接口 */ declare interface CheckboxGroupProps { /** 绑定值数组 */ modelValue?: Array /** 是否禁用整个组 */ disabled?: boolean /** 排列方向 */ direction?: CheckboxDirection /** 间隔(单位:rpx) */ gap?: string | number /** 复选框大小 */ size?: CheckboxSize /** 复选框类型 */ type?: CheckboxType /** 最小选择数量 */ min?: number /** 最大选择数量 */ max?: number /** 是否有边框 */ bordered?: boolean /** 是否显示全选 */ showCheckAll?: boolean /** 全选文本 */ checkAllText?: string /** 自定义样式 */ customStyle?: Record } /** * 复选框组事件接口 */ declare interface CheckboxGroupEmits { (e: 'update:modelValue', value: Array): void (e: 'change', value: Array): void } /** * 复选框注入上下文接口 */ declare interface CheckboxGroupContext { modelValue: Array disabled: boolean size: CheckboxSize type: CheckboxType handleChange: (value: string | number) => void registerCheckbox?: (value: string | number) => void unregisterCheckbox?: (value: string | number) => void } declare interface CheckboxGroup { new(): { $props: AllowedComponentProps & VNodeProps & CheckboxGroupProps $emit: CheckboxGroupEmits } } export declare const CheckboxGroup: _CheckboxGroup export default CheckboxGroup export type { CheckboxGroupProps, CheckboxGroupEmits, CheckboxGroupContext }