import { MessageBus } from './service-bus.service'; import { LivechatHttpClientService } from './livechat-http-client.service'; import * as moment from 'moment'; import { ChatMachineStatesEnum } from './interfaces-livechat'; import { IMessage, IdOptions, GlobalStateEnum } from './interfaces'; import { MachineOptions } from 'xstate'; export declare class ChatStateMachine { private messageBus; private machineEventSub; private livechatClient; globalStateEnum: typeof GlobalStateEnum; globalState: GlobalStateEnum; beforeTime: moment.Moment; afterTime: moment.Moment; LV_OP_IMMEDIATE_START_STEP1: string; LV_ERR_ON_HOURS_OK_OPS_MSG: string; LV_ERR_ON_HOURS_NO_OPS_MSG: string; LV_ERR_OFF_HOURS_MSG: string; LV_OP_NOT_AVAILABLE_END_STEP1: string; LV_OP_NOT_AVAILABLE_START_STEP2: string; LV_OP_NOT_AVAILABLE_END_STEP2: string; LV_USER_ENDED_WAITING_FOR_OP_MSG: string; LV_OP_ENDED_CHAT_MSG: string; LV_USER_START_WAITING_FOR_GDPR_CONSENT_MSG: string; LV_USER_ENDED_WAITING_FOR_GDPR_CONSENT_MSG: string; LV_DONT_BROWSE_IN_THIS_WINDOW_ONLINE: string; LV_DONT_BROWSE_IN_THIS_WINDOW_WEB: string; LV_DONT_BROWSE_IN_THIS_WINDOW: string; activeMachine: any; private apikey2; soundNotification: any; constructor(messageBus: MessageBus, livechatClient: LivechatHttpClientService); createMsg(msg: string, from: IdOptions, mode: any, loading: any): IMessage; chatMachineOptions: Partial>; private _machine; init(apikey: string, url: string, mode: string): void; updateState(newState: any): Promise; getState(): ChatMachineStatesEnum; }