| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // Vue 3 Composition API globals
- declare global {
- // Vue composition API
- const ref: typeof import('vue')['ref']
- const reactive: typeof import('vue')['reactive']
- const computed: typeof import('vue')['computed']
- const watch: typeof import('vue')['watch']
- const watchEffect: typeof import('vue')['watchEffect']
- const onMounted: typeof import('vue')['onMounted']
- const onUnmounted: typeof import('vue')['onUnmounted']
- const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
- const onBeforeMount: typeof import('vue')['onBeforeMount']
- const onUpdated: typeof import('vue')['onUpdated']
- const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
- const nextTick: typeof import('vue')['nextTick']
- const toRef: typeof import('vue')['toRef']
- const toRefs: typeof import('vue')['toRefs']
- // Vue router types
- type Route = import('vue-router')['RouteLocationNormalized']
- const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
- // Nuxt composables
- const useRouter: typeof import('#app/composables/router')['useRouter']
- const useRoute: typeof import('#app/composables/router')['useRoute']
- const navigateTo: typeof import('#app/composables/router')['navigateTo']
- const useRuntimeConfig: typeof import('#app/composables/runtime-config')['useRuntimeConfig']
- const useCookie: typeof import('#app/composables/cookie')['useCookie']
- const useState: typeof import('#app/composables/state')['useState']
- const useHead: typeof import('#app/composables/head')['useHead']
- const useSeoMeta: typeof import('#app/composables/head')['useSeoMeta']
- const useNuxtData: typeof import('#app/composables/asyncData')['useNuxtData']
- const clearNuxtData: typeof import('#app/composables/asyncData')['clearNuxtData']
- const refreshNuxtData: typeof import('#app/composables/asyncData')['refreshNuxtData']
- const useFetch: typeof import('#app/composables/fetch')['useFetch']
- const $fetch: typeof import('#app/composables/fetch')['$fetch']
- const useAsyncData: typeof import('#app/composables/asyncData')['useAsyncData']
- const useLazyFetch: typeof import('#app/composables/fetch')['useLazyFetch']
- const useLazyAsyncData: typeof import('#app/composables/asyncData')['useLazyAsyncData']
- const useNuxtApp: typeof import('#app/composables/app')['useNuxtApp']
- // Vue i18n
- const useI18n: typeof import('#i18n')['useI18n']
- // Pinia
- const useRepo: typeof import('@pinia-orm/pinia')['useRepo']
- // Custom store composables (assuming they exist)
- const usePageStore: () => any
- const useOrganizationProfileStore: () => any
- // Test framework globals (Vitest)
- const describe: typeof import('vitest')['describe']
- const it: typeof import('vitest')['it']
- const test: typeof import('vitest')['test']
- const expect: typeof import('vitest')['expect']
- const beforeEach: typeof import('vitest')['beforeEach']
- const beforeAll: typeof import('vitest')['beforeAll']
- const afterEach: typeof import('vitest')['afterEach']
- const afterAll: typeof import('vitest')['afterAll']
- const vi: typeof import('vitest')['vi']
- }
- export {}
|