import type { Ref } from 'vue'; export type { ScrollToOptions } from '@tanstack/vue-virtual'; export declare function useVirtualScroll(settings: { scrollEl: HTMLElement | null | Ref; count: number | Ref; estimateSize: string | number | ((index: number) => number) | Ref number)>; getItemKey?: (index: number) => number | string | bigint; overscan?: string | number | Ref; horizontal?: boolean | Ref; }): { virtualizer: Ref, import("@tanstack/vue-virtual").Virtualizer>; virtualItems: globalThis.ComputedRef; virtualItemsLength: globalThis.ComputedRef; firstVirtualItem: globalThis.ComputedRef; lastVirtualItem: globalThis.ComputedRef; totalSize: globalThis.ComputedRef; startSpacer: globalThis.ComputedRef<{ show: boolean; size: number; style: { width: string; } | { height: string; }; }>; endSpacer: globalThis.ComputedRef<{ show: boolean; size: number; style: { width: string; } | { height: string; }; }>; };