import type { StreamMessage } from '../../../context/ChannelStateContext'; import type { DefaultStreamChatGenerics } from '../../../types/types'; export declare type ContainerMeasures = { offsetHeight: number; scrollHeight: number; }; export declare type UseMessageListScrollManagerParams = { messages: StreamMessage[]; 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