import Joi from 'joi'; import type { EndConversationReasons } from '../dialogue'; export declare type RingBellReason = 'error' | 'timeout' | 'manual' | 'offline' | EndConversationReasons; export declare const ringBellReasonSchema: Joi.StringSchema; export declare type RingBellFrom = 'console' | 'hil'; export declare const ringBellFromSchema: Joi.StringSchema; export interface IRingBellParams { conversationId: string; reason: RingBellReason; from: RingBellFrom; description?: string; endConversation?: boolean; } export declare const ringBellParamsSchema: Joi.ObjectSchema; export interface ISendMessageParams { messageBody: string; conversationId: string; staffId?: string; allowResponse?: boolean; } export declare const sendMessageParamsSchema: Joi.ObjectSchema; export interface ITriggersApi { triggersRingBell(params: IRingBellParams): Promise; triggersSendMessage(params: ISendMessageParams): Promise; }