import { SmrtObject } from '@happyvertical/smrt-core'; import { ChatThreadOptions } from '../types.js'; /** * Conversation thread. Internal model — threads must be created/mutated only * through the membership-checked {@link ChatService} (S5 #1392). The generated * CRUD surface is read-only (`get`/`list`); `create`/`update`/`delete` are NOT * generated, otherwise a caller could POST a thread rooted in an arbitrary room * (or mutate `messageCount`/`isResolved`) via the raw collection routes, * bypassing the room-membership authorization in {@link ChatService.startThread}. */ export declare class ChatThread extends SmrtObject { tenantId: string; roomId: string; rootMessageId: string | null; title: string; isResolved: boolean; messageCount: number; lastMessageAt: Date | null; participantCount: number; constructor(options?: ChatThreadOptions); resolve(): Promise; reopen(): Promise; } //# sourceMappingURL=ChatThread.d.ts.map