import type { RouteMeta, RouteRecordRaw } from 'vue-router'; import type { Pronoun } from '#shared/classes.ts'; import type { NounConvention } from '#shared/nouns.ts'; import type { Config } from '~~/locale/config.ts'; declare global { var originalRoutes: readonly RouteRecordRaw[]; } interface TranslatedRoute { paths: string[]; meta?: RouteMeta; } declare module 'nuxt/app' { interface PageMeta { translatedPaths?: (config: Config) => string[] | Record; } } declare module 'vue-router' { interface RouteMeta { headerCategory?: string; pronoun?: Pronoun; nounConvention?: WithKey; } }