import VueI18n from 'vue-i18n';
import { TabSection } from '@/recruits/components/recruit-card/tab-sections/interfaces';

type Stringable = string | StringableObject;
interface StringableObject {
  toString(): string;
}

export interface Tab {
  id?: string;
  name?: Stringable | VueI18n.TranslateResult;
  path: string;
  icon?: string;
  visible?: boolean;
  disabled?: boolean;
  alert?: boolean | string;
  tabSections?: Array<TabSection>;
  tooltip?: string;
}
export interface BaseTabs {
  current: string;
  list: Array<Tab>;
}
