type Conversation = {
    id: string;
    userId?: string;
    title: string;
    createdAt: Date;
    updatedAt: Date;
};
type Message = {
    id: string;
    conversationId: string;
    role: "system" | "user" | "assistant" | "data";
    content: string;
    createdAt: Date;
};
interface SerializedConversation extends Omit<Conversation, "createdAt" | "updatedAt"> {
    createdAt: string;
    updatedAt: string;
}
interface SerializedMessage extends Omit<Message, "createdAt"> {
    createdAt: string;
}

export type { Conversation as C, Message as M, SerializedConversation as S, SerializedMessage as a };
