import { transChoice, trans } from "craftable-pro/plugins/laravel-vue-i18n";
import { route as ziggyRoute } from "ziggy-js";

declare module "vue" {
  interface ComponentCustomProperties {
    $t: typeof trans;
    $tChoice: typeof transChoice;
    route: typeof ziggyRoute;
  }
}

declare global {
  const route: typeof ziggyRoute;
}

declare module '@vue/runtime-core' {
  interface ComponentCustomProperties {
    $t: typeof trans;
    $tChoice: typeof transChoice;
    route: typeof ziggyRoute;
  }
}
