import { Component, Slot } from 'vue' export * from './helper/index' export * from './hooks/index' export * from './utils/index' type On = { [K in keyof T as `on${Capitalize}`]: T[K] } type Slots = { 'v-slots'?: { [K in keyof T]?: (arg0: T[K]) => Slot } children?: { [K in keyof T]?: (arg0: T[K]) => Slot } } declare global { const process: { env: { NODE_ENV: string } } } // vue3 component jsx的辅助类型 export declare type CustomComponent = new (Props: {[K in keyof T]: T[K]} & On & Slots) => Component<{[K in keyof T]: T[K]} & On & Slots>