import { Joi } from '../helpers'; export declare const STATUS = "VOICE_TO_TEXT/STATUS"; /** * When voice to text server is `listening` it means * it is ready to receive `START` event to switch to * recognising mode * * When voice to text server is `recognising` it means * it is currently generating `RESULT` events until one * of the events get `isFinal` status and trigger a message */ export declare type Status = 'listening' | 'recognizing'; export declare const statusSchema: Joi.StringSchema; export declare const statusPayloadSchema: Joi.ObjectSchema; export interface IStatusPayload { conversationId: string; status: Status; timestamp: number; } export declare const statusActionSchema: Joi.ObjectSchema; export interface IStatusAction { type: typeof STATUS; payload: IStatusPayload; } export declare const status: import("../helpers").IActionCreator;