import * as ChannelState from "./ChannelState"; /** * Chat channel state * @deprecated * @deprecatedSince 2.0.0 * @altRecommendation This state can be accesed via the app state, as in the example below * @altRecommendationExample * Twilio.Flex.Manager.getInstance().store.getState().flex.chat.conversations.<{CHANNEL_SID}> * @altRecommendationLink https://assets.flex.twilio.com/docs/releases/flex-ui/latest/advanced/state-management/AppState/ * @private * @category State * @typedef {Object} ChatState.ChannelsState * @property {ChatState.ChannelState} [sid] State of chat channel by sid */ export interface ChannelsState { [sid: string]: ChannelState.ChannelState; } export declare function reduce(state: ChannelsState, action: ChannelState.ChannelAction): ChannelsState;