import type { OneChatMessage } from '../../../context/ChannelStateContext'; import type { DefaultOneChatGenerics } from '../../../types'; export declare type ContainerMeasures = { offsetHeight: number; scrollHeight: number; }; export declare type UseMessageListScrollManagerParams = { loadMoreScrollThreshold: number; messages: OneChatMessage[]; onScrollBy: (scrollBy: number) => void; scrollContainerMeasures: () => ContainerMeasures; scrolledUpThreshold: number; scrollToBottom: () => void; showNewMessages: () => void; }; export declare function useMessageListScrollManager(params: UseMessageListScrollManagerParams): (scrollTopValue: number) => void; //# sourceMappingURL=useMessageListScrollManager.d.ts.map