import { Document, Types } from 'mongoose';
import { PlatformUsed } from '../../common/enums';
export declare class ChatHistory extends Document {
    chatId: string;
    salonId: Types.ObjectId;
    clientId: Types.ObjectId;
    callid?: string;
    role?: 'user' | 'assistant' | 'system' | 'tool';
    text?: string;
    metadata?: Record<string, any>;
    created_at: number;
    platformUsed?: PlatformUsed;
}
export declare const ChatHistorySchema: import("mongoose").Schema<ChatHistory, import("mongoose").Model<ChatHistory, any, any, any, Document<unknown, any, ChatHistory, any, {}> & ChatHistory & Required<{
    _id: Types.ObjectId;
}> & {
    __v: number;
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ChatHistory, Document<unknown, {}, import("mongoose").FlatRecord<ChatHistory>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<ChatHistory> & Required<{
    _id: Types.ObjectId;
}> & {
    __v: number;
}>;
