import "vue-router";
import type { IPrivilegesList } from "@actindo/core-ui";

declare module "vue-router" {
  interface RouteMeta {
    label?: string;
    title?: string;
    unauthenticated?: boolean;
    skip?: boolean;
    transition?: string;
    transitionMode?: "default" | "in-out" | "out-in";
    privileges?: IPrivilegesList;
  }
}

declare module "@vue/runtime-core" {
  interface ComponentCustomProperties {
    $t: (
      translationId: string,
      locale?: string,
      options?: Record<string, never> | unknown[],
    ) => string;
  }
}
