/// <reference types="vite/client" />
/// <reference types="vite-plugin-pwa/client" />
/// <reference types="unplugin-icons/types/vue" />
/// <reference types="@cloudflare/workers-types" />

import type { MessageSchema } from "@/locales";
import {
  DefineDateTimeFormat,
  DefineLocaleMessage,
  DefineNumberFormat,
} from "vue-i18n";
import "vue-router";

export {};

declare module "vue-i18n" {
  // define the locale messages schema
  export interface DefineLocaleMessage extends MessageSchema {
  }

  // define the datetime format schema
  export interface DefineDateTimeFormat {
  }

  // define the number format schema
  export interface DefineNumberFormat {
  }
}

declare module "vue-router" {
  interface RouteMeta {
    requiresAuth: ? boolean;
  }
}
