import { Ref } from 'vue';
import { TScroll } from '../common';
export declare type UseVirtualScrollParams = Ref<{
    data: {
        [key: string]: any;
    }[];
    scroll: TScroll;
}>;
export interface ScrollToElementParams {
    index: number;
    top?: number;
    time?: number;
    behavior?: 'auto' | 'smooth';
}
declare const useVirtualScroll: (container: Ref<HTMLElement>, params: UseVirtualScrollParams) => {
    visibleData: Ref<any[]>;
    translateY: Ref<number>;
    scrollHeight: Ref<number>;
    isVirtualScroll: import("vue").ComputedRef<boolean>;
    handleScroll: () => void;
    handleRowMounted: (rowData: any) => void;
    scrollToElement: (p: ScrollToElementParams) => void;
};
export declare type VirtualScrollConfig = ReturnType<typeof useVirtualScroll>;
export default useVirtualScroll;
