/** * useAutoMarkRead — fire `markAsRead` shortly after the user reaches the * conversation view with unread messages, and again when new messages * arrive while the widget is open. * * The actual server call is debounced inside the controller via the * `_isMarkingRead` guard. */ import type { ChatMessage } from "../../../../utils/globals"; import type { ChatController } from "../../controller/chat-controller"; import type { ChatStore } from "../../store/chat-store"; interface UseAutoMarkReadArgs { store: ChatStore; controller: ChatController; messages: ChatMessage[]; } export declare function useAutoMarkRead({ store, controller, messages, }: UseAutoMarkReadArgs): void; export {};