/// <reference types="react" />
declare type UseVirtualScrollProps = {
    length: number;
    isActive?: boolean;
    onScrollToBottom?: (index: number) => void;
};
declare type UseVirtualScrollReturn<ITEM_ELEMENT, SCROLL_ELEMENT> = {
    listRefs: React.RefObject<ITEM_ELEMENT>[];
    scrollElementRef: React.RefObject<SCROLL_ELEMENT>;
    slice: [number, number];
    spaceTop: number;
};
export declare const useVirtualScroll: <ITEM_ELEMENT extends HTMLElement = HTMLDivElement, SCROLL_ELEMENT extends HTMLElement = HTMLDivElement>({ length, onScrollToBottom, isActive, }: UseVirtualScrollProps) => UseVirtualScrollReturn<ITEM_ELEMENT, SCROLL_ELEMENT>;
export {};
