import type {Component} from 'vue';

export type ChatInputTriggerSymbol = '#' | '$' | '/' | '@';

export interface ChatInputTriggerItem {
  description?: string;
  disabled?: boolean;
  icon?: Component;
  id: string;
  label: string;
}

export interface ChatInputTriggerGroup {
  items: ChatInputTriggerItem[];
  label: string;
  symbol: ChatInputTriggerSymbol;
}

export interface ChatInputTriggerMatch {
  keyword: string;
  start: number;
  symbol: ChatInputTriggerSymbol;
}
