import { DefaultStreamChatGenerics } from '../../../types'; type UseMarkReadParams = { isMessageListScrolledToBottom: boolean; messageListIsThread: boolean; unreadCount: number; wasMarkedUnread?: boolean; }; /** * Takes care of marking a channel read. The channel is read only if all the following applies: * 1. the message list is not rendered in a thread * 2. the message list is scrolled to the bottom * 3. the channel was not marked unread by the user * @param isMessageListScrolledToBottom * @param messageListIsThread * @param unreadCount * @param wasChannelMarkedUnread */ export declare const useMarkRead: ({ isMessageListScrolledToBottom, messageListIsThread, unreadCount, wasMarkedUnread, }: UseMarkReadParams) => void; export {}; //# sourceMappingURL=useMarkRead.d.ts.map