import Vue from 'vue'
import { Common } from './service/common'
import { Service } from './service/index'
import { NFTService } from './service/nftService/nftService'
import { UserService } from './service/userService'
import { UTIL_INTERFACE } from '@/util/util.types'
import VueRouter, { Route } from 'vue-router'
import { CopyrightService } from './service/copyrightService/copyrightService'

interface ServiceType {
    userService: UserService
    nftService: NFTService
    copyrightService: CopyrightService
    common:Common
}


declare module 'vue/types/vue' {
    interface Vue {
        $service: ServiceType,
        $router: VueRouter,
        $util:UTIL_INTERFACE
    }
  }


