declare type useGenScrollParams = {
    wrapHeight: number;
    scroll?: {
        x: number;
        y: number;
        scrollToFirstRowOnChange?: boolean;
        autoCalc?: boolean;
    };
    columns: any[];
    isShowPagination: boolean;
};
declare const useGenScroll: (params: useGenScrollParams) => {
    x: number;
    y: number;
    scrollToFirstRowOnChange?: boolean | undefined;
    autoCalc?: boolean | undefined;
} | {
    x: any;
    y: number;
    scrollToFirstRowOnChange: boolean | undefined;
} | undefined;
export default useGenScroll;
