import { Store } from "redux"; import { ChatState } from "./state/ChatState"; import { ChatEventEmitter } from "./ChatEvents"; import { EventEmitter } from "events"; export type ChatStateCallback = (storeState: any) => ChatState; export declare class ChatModule { private static localStore; private static localStateCallback; private static localEvents; private static _parentEvents; static init(store: Store, stateCb?: ChatStateCallback, parentEventEmitter?: EventEmitter): void; static get state(): ChatState; static dispatch(action: any): any; static get events(): ChatEventEmitter; static get parentEvents(): EventEmitter<[never]>; static get stateCallback(): ChatStateCallback; }