import { RefObject } from 'react'; /** * The distance from the viewport top that sticky content must leave free for * the sticky chrome above it. The stylesheet seeds it (0, or the topbar height * when the topbar is sticky); a sticky stack republishes it for its siblings. */ export declare const STICKY_OFFSET_VAR = "--lt-sticky-offset"; /** * The offset a sticky stack itself pins to. It is frozen per element because * the stack overrides the shared variable on its parent, which would otherwise * feed back into its own `top`. */ export declare const STICKY_OWN_TOP_VAR = "--lt-sticky-own-top"; /** * Pins an element below the sticky chrome above it and publishes the element's * own height, added to that chrome, as the sticky offset for its siblings. */ export declare function useStickyOffsetPublisher(enabled: boolean): RefObject;