import { DefineComponent } from 'vue';
import type { BadgeProps } from 'v2/Badge/Badge.vue.d';

export type ObjectBadge = {
  text: string;
  severity: 'success' | 'danger' | 'warning' | 'dark' | 'primary';
};
export interface BadgeGroupProps
  extends Omit<BadgeProps, 'label' | 'disabled' | 'removable'> {
  /**
   * Support data type object to determine severity for specific text
   */
  labels: string[] | ObjectBadge[];
  limit?: number;
  headerLabel?: string;
  /**
   * Determine whether severity of text "more" is customizable
   *
   * @default undefined
   */
  textMoreSeverity?: TSVueIconSeverities;
}

declare const BadgeGroup: DefineComponent<BadgeGroupProps>;

export default BadgeGroup;
