import { VirtualListEmits, VirtualListItemKey, VirtualListKey, VirtualListProps } from './src/types'; import { default as TxVirtualList } from './src/TxVirtualList.vue'; declare const VirtualList: ((__VLS_props: NonNullable>["props"], __VLS_ctx?: { slots: Readonly<{ item?: (props: { item: T; index: number; }) => any; }> & { item?: (props: { item: T; index: number; }) => any; }; attrs: any; emit: VirtualListEmits; }, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: { readonly onScroll?: ((payload: { scrollTop: number; startIndex: number; endIndex: number; }) => any) | undefined; items?: T[] | undefined; itemHeight: number; height?: number | string | undefined; overscan?: number | undefined; itemKey?: VirtualListItemKey | undefined; } & import('vue').PublicProps; expose(exposed: import('vue').ShallowUnwrapRef<{ scrollToIndex: (index: number) => void; scrollToTop: () => void; scrollToBottom: () => void; }>): void; attrs: any; slots: Readonly<{ item?: (props: { item: T; index: number; }) => any; }> & { item?: (props: { item: T; index: number; }) => any; }; emit: VirtualListEmits; }>) => import('vue').VNode & { __ctx?: Awaited; }) & import('vue').Plugin; export { TxVirtualList, VirtualList }; export type { VirtualListEmits, VirtualListItemKey, VirtualListKey, VirtualListProps }; export interface TxVirtualListInstance { scrollToIndex: (index: number) => void; scrollToTop: () => void; scrollToBottom: () => void; } export default VirtualList;