/**
 * 全局组件类型
 */
import type ShopCoupon from '@/components/shop-coupon/shop-coupon.vue'
import type shopGoodsList from '@/components/shop-goods-list/shop-goods-list.vue'
import type shopPaginateList from '@/components/shop-paginate-list/shop-paginate-list.vue'
import type ShopSubmitButton from '@/components/shop-submit-button/shop-submit-button.vue'
import type ShopUserAvatar from '@/components/shop-user-avatar/shop-user-avatar.vue'
import type ShopGoodsSearch from '@/components/shop-goods-search/shop-goods-search.vue'
import type ShopSwiper from '@/components/shop-swiper/shop-swiper.vue'

declare module 'vue' {
  export interface GlobalComponents {
    shopSwiper: typeof ShopSwiper
    shopGoodsList: typeof shopGoodsList
    ShopGoodsSearch: typeof ShopGoodsSearch
    shopSubmitButton: typeof ShopSubmitButton
    shopUserAvatar: typeof ShopUserAvatar
    shopCoupon: typeof ShopCoupon
    shopPaginateList: typeof shopPaginateList
  }
}

/**
 * 组件实例类型
 */
// 商品列表组件实例
export type shopGoodsListInsatnce = InstanceType<typeof shopGoodsList>
