/** Scroll anchoring helpers that avoid writing while ChatView follows bottom. */ export interface ScrollAnchor { readonly scrollport: HTMLElement; readonly element: HTMLElement; readonly top: number; readonly followsBottom: boolean; } /** Capture a stable element's position relative to the native scrollport. */ export declare function captureScrollAnchor(flow: HTMLElement, element: HTMLElement): ScrollAnchor | undefined; /** Restore the reader's relative position unless native bottom-follow owns it. */ export declare function restoreScrollAnchor(anchor: ScrollAnchor | undefined): void; //# sourceMappingURL=scroll.d.ts.map