import Joi from 'joi'; import type { IConfigureParams } from '../voice-to-text/configureParams'; import type { SchemaOf, ExtractValues } from '../helpers'; export declare const messageFromTag: readonly ["hil", "bot", "user"]; export declare const messageFromTagSchema: Joi.StringSchema; export declare type MessageFromTag = ExtractValues; export declare const botMessageType: readonly ["information", "question"]; export declare const botMessageTypeSchema: Joi.StringSchema; export declare type BotMessageType = ExtractValues; export interface IMessage { messageId: string; conversationId: string; recordingId?: string; from: MessageFromTag; text: string; timestamp: number; endConversation?: boolean; voiceToTextParams?: IConfigureParams; botMessageType?: BotMessageType; botQuestionId?: string; commandId?: string; engine?: string; } export declare type IMessageShape = IMessage; export declare const messageSchemaMap: SchemaOf; export declare const messageSchema: Joi.ObjectSchema;