UNPKG

@cossistant/next

Version:

Next.js-ready SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.

17 lines (16 loc) 655 B
//#region ../react/src/realtime/seen-store.d.ts declare function hydrateConversationSeen(conversationId: string, entries: ConversationSeen[]): void; declare function upsertConversationSeen(options: { conversationId: string; actorType: SeenActorType; actorId: string; lastSeenAt: Date; }): void; declare function applyConversationSeenEvent(event: RealtimeEvent<"conversationSeen">, options?: { ignoreVisitorId?: string | null; ignoreUserId?: string | null; ignoreAiAgentId?: string | null; }): void; //#endregion export { applyConversationSeenEvent, hydrateConversationSeen, upsertConversationSeen }; //# sourceMappingURL=seen-store.d.ts.map