import React from 'react'; import type { StreamMessage } from '../../../context/ChannelStateContext'; import type { DefaultStreamChatGenerics } from '../../../types/types'; export declare type UseScrollLocationLogicParams = { hasMoreNewer: boolean; listElement: HTMLDivElement | null; suppressAutoscroll: boolean; currentUserId?: string; messages?: StreamMessage[]; scrolledUpThreshold?: number; }; export declare const useScrollLocationLogic: (params: UseScrollLocationLogicParams) => { hasNewMessages: boolean; isMessageListScrolledToBottom: boolean; onScroll: (event: React.UIEvent) => void; scrollToBottom: () => void; wrapperRect: DOMRect | undefined; }; //# sourceMappingURL=useScrollLocationLogic.d.ts.map