import { DefineComponent } from 'vue' import type { App } from 'vue' import type { SwiperOptions } from './types/swiper-options' import type { SwiperEvents } from './types/swiper-events' export interface SwiperItemProps { tag?: string swiperSlideIndex?: number zoom?: boolean lazy?: boolean virtualIndex?: string | number customStyle?: Record } export const ZSwiper: DefineComponent< Partial & { customStyle?: Record } & { [K in keyof SwiperEvents as `on${Capitalize}`]?: SwiperEvents[K] } > export const ZSwiperItem: DefineComponent declare const _default: { install(app: App): void } declare module '@vue/runtime-core' { export interface GlobalComponents { ZSwiper: DefineComponent< Partial & { customStyle?: Record } & { [K in keyof SwiperEvents as `on${Capitalize}`]?: SwiperEvents[K] } > ZSwiperItem: DefineComponent 'z-swiper': typeof ZSwiper 'z-swiper-item': typeof ZSwiperItem } } export default _default