import type * as React from "react"; /** Spread, so a surface cannot wire half of it. */ export interface DomScrollSeam { ref: React.RefObject; onScroll: React.UIEventHandler; } /** Remembered scroll offsets across a content swap: a container keeps its offset when children change, so * a swapped-in child record would open part-way down. While `scrollKey` holds, nothing moves; when it * changes, the outgoing offset is recorded and the incoming one restored — 0 for a new key (forward opens * at top), the remembered one going back. Not a React `key`, which would reset the parent too. No key * change, no scrolling; an absent key is the root's identity ({@link ROOT_KEY}). */ export declare function useDomScrollSeam(scrollKey: string | undefined): DomScrollSeam;