import { Ref } from "vue";
declare type TargetValue<T> = T | undefined | null;
export interface Options<T> {
    wrapperTarget: Ref<TargetValue<HTMLElement>>;
    itemHeight: number | ((index: number, data: T) => number);
    overscan?: number;
}
declare const useVirtualList: <T = any>(list: Ref<T[]>, options: Options<T>) => readonly [Ref<{
    index: number;
    data: T;
}[]>, {
    ref: (ele: any) => void;
    onScroll: (e: any) => void;
}, (index: number) => void];
export default useVirtualList;
