import type { Ref } from 'vue' export type CollectionItem> = { ref: HTMLElement | null } & T export type ElCollectionInjectionContext = { itemMap: Map getItems: () => CollectionItem[] collectionRef: Ref } export type ElCollectionItemInjectionContext = { collectionItemRef: Ref }