export interface UseMarkConversationAsReadProps { conversationId: string; } /** * Internal hook — called by ConversationProvider, not intended for direct use. * Advances the server-side lastReadAt to the given message's createdAt and * resets the local unread count to 0 immediately (optimistic clear). */ declare function useMarkConversationAsRead({ conversationId, }: UseMarkConversationAsReadProps): ({ messageId }: { messageId: string; }) => Promise; export default useMarkConversationAsRead;