import { z } from "zod";
export const ChatRoomSchema = z.object({
    id: z.string(),
    name: z.string(),
    purpose: z.string().nullable(),
    createdAt: z.string(),
    updatedAt: z.string(),
});
export const ChatMessageSchema = z.object({
    id: z.string(),
    roomId: z.string(),
    authorAgentId: z.string(),
    body: z.string(),
    replyToMessageId: z.string().nullable(),
    mentionAgentIds: z.array(z.string()),
    createdAt: z.string(),
});
export const ChatRoomDetailSchema = ChatRoomSchema.extend({
    messageCount: z.number().int().nonnegative(),
    lastMessageAt: z.string().nullable(),
});
//# sourceMappingURL=chat-types.js.map