import { type RefObject } from 'react'; /** * Hook to preserve scroll position when older messages are loaded at the top * This prevents the chat from jumping when new content is prepended * @param {RefObject} containerRef - Reference to the scrollable container element * @param {number} messagesCount - Current count of messages in the list * @returns {void} */ export declare function useScrollPreservation(containerRef: RefObject, messagesCount: number): void;