import type { RefObject } from 'react';
export type OptimizedListParams = [
    /**
     * start index
     */
    number,
    /**
     * end index
     */
    number,
    /**
     * is scrolled to start
     */
    boolean,
    /**
     * is scrolled to end
     */
    boolean,
    /**
     * client width/height of element
     */
    number
];
export declare const useOptimizedList: (containerRef: RefObject<Element>, property: 'scrollTop' | 'scrollLeft', cellSize: number) => OptimizedListParams;
