import { VueNode } from "../_util/type.js"; import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.js"; import "../_util/hooks/index.js"; import { ComponentBaseProps } from "../config-provider/context.js"; import * as vue804 from "vue"; //#region src/tag/CheckableTagGroup.d.ts type CheckableTagDefaultValue = string | number; interface CheckableTagOption { value: CheckableTagValue; label: VueNode; disabled?: boolean; } interface CheckableTagGroupSingleProps { multiple?: false; value?: CheckableTagValue | null; defaultValue?: CheckableTagValue | null; onChange?: (value: CheckableTagValue | null) => void; } interface CheckableTagGroupMultipleProps { multiple: true; value?: CheckableTagValue[]; defaultValue?: CheckableTagValue[]; } type SemanticName = 'root' | 'item'; type CheckableTagGroupProps = ComponentBaseProps & { classes?: SemanticClassNames; styles?: SemanticStyles; options?: (CheckableTagOption | CheckableTagValue)[]; id?: string; role?: string; disabled?: boolean; } & (CheckableTagGroupSingleProps | CheckableTagGroupMultipleProps); interface CheckableTagGroupRef { nativeElement: HTMLDivElement; } interface CheckableTagGroupEmits { 'change': (value: CheckableTagValue | CheckableTagValue[] | null) => void; 'update:value': (value: CheckableTagValue | CheckableTagValue[] | null) => void; } interface CheckableTagGroupEmitsProps { onChange?: CheckableTagGroupEmits['change']; 'onUpdate:value'?: CheckableTagGroupEmits['update:value']; } interface InternalCheckableTagGroupProps extends CheckableTagGroupProps, CheckableTagGroupEmitsProps {} declare const CheckableTagGroup: vue804.DefineSetupFnComponent, {}, InternalCheckableTagGroupProps, vue804.PublicProps>; //#endregion export { CheckableTagGroupEmits, CheckableTagGroupEmitsProps, CheckableTagGroupProps, CheckableTagGroupRef, CheckableTagOption, SemanticName, CheckableTagGroup as default };