export interface FormSelectorProps {
  modelValue?: null | string | string[];
  formCode?: string;
  valueField?: string;
  labelField?: string;
  multiple?: boolean;
  collapseTags?: boolean;
  maxCollapseTags?: number;
  placeholder?: string;
  disabled?: boolean;
  clearable?: boolean;
  dialogTitle?: string;
  dialogWidth?: string;
  expandMultipleToRows?: boolean;
  externalSelectedValues?: string[];
  initialFilters?: Record<string, { type: string; value: any }>;
}

export interface FormSelectorEmits {
  (e: 'update:modelValue', value: null | string | string[]): void;
  (e: 'change', value: null | string | string[]): void;
  (e: 'select-item', item: any): void;
}
