import { Action } from "redux"; import { Config, OutboundConfig, EmailChannelStatus, InsightsProvisionStatus, TeamsContextStatus } from "./AppConfig"; export interface AppConfigAction extends Action { readonly payload: Config; } export interface OutboundEmailAction extends Action { readonly payload: OutboundConfig; } export interface EmailChannelAction extends Action { readonly payload?: EmailChannelStatus; } export interface InsightsProvisionAction extends Action { readonly payload?: InsightsProvisionStatus; } export interface HighChartReadyAction extends Action { readonly payload?: { enabled: boolean; }; } export interface TeamsContextAction extends Action { readonly payload?: TeamsContextStatus; } export declare function reduce(state: Config, action: AppConfigAction | OutboundEmailAction | EmailChannelAction): Config; export declare class Actions { static initConfig(config: Config): void; static fetchOutboundSettings(accountSid: string): Promise; static fetchEmailProvisionStatus(): Promise; static fetchConversationalInsightsProvisionStatus(): Promise; static fetchHighchartLoadingStatus(enabled: boolean): void; static fetchTeamsContextStatus(): Promise; }