/** * Fixed/sticky element detection utilities */ /** * Check if an element or any of its ancestors has fixed or sticky positioning */ export declare function isFixedOrSticky(element: Element | null): boolean; /** * Get the fixed/sticky ancestor if one exists */ export declare function getFixedAncestor(element: Element | null): Element | null; /** * Get the position of an element relative to either viewport (if fixed) or document */ export declare function getElementPosition(element: Element): { x: number; y: number; isFixed: boolean; }; /** * Convert percentage position to pixels for a given viewport dimension */ export declare function percentToPixels(percent: number, viewportDimension: number): number; /** * Convert pixel position to percentage of viewport */ export declare function pixelsToPercent(pixels: number, viewportDimension: number): number; //# sourceMappingURL=fixed-detection.d.ts.map