import type { RefObject } from 'react';
import type { ISearchTableProps } from '../typings/index.d';
interface IUseScrollYParams {
    table: ISearchTableProps['table'];
    rootElemRef: RefObject<HTMLElement>;
}
/**
 * 表格高度自动适配计算方案：“一屏显示”
 */
export default function useScrollY({ table, rootElemRef }: IUseScrollYParams): {
    scrollY: number | undefined;
    updateScrollY: (this: any, delay?: any, checkEnabled?: any) => void;
};
export {};
