import type { BindElement } from './types/affix'; /** * 获取目标节点的元素大小及其相对于视口的位置的信息 top和bottom * * @param target 当前节点 * @returns {DOMRect} */ export declare function getTargetRect(target: BindElement): DOMRect; /** * 获取固定到顶部的位置 * * @param placeholderReact 占位节点 * @param targetRect 目标节点 * @param offsetTop 固定位置 * @returns */ export declare function getFixedTop(placeholderReact: DOMRect, targetRect: DOMRect, offsetTop?: number): number | undefined; /** * 获取固定到底部的位置 * * @param placeholderReact 占位节点 * @param targetRect 目标节点 * @param offsetBottom 固定位置 * @returns */ export declare function getFixedBottom(placeholderReact: DOMRect, targetRect: DOMRect, offsetBottom?: number): number | undefined; export declare function getDefaultTarget(): Window | null;