import { Container, EventManager } from '@webprovisions/platform'; import { default as Store } from './store'; import { MessageGroup } from './types'; declare class HttpClient { private endpoint; private events; private store; private container; private globalState; private localState; private clientId; private entries; constructor(endpoint: string, events: EventManager, store: Store, container: Container); start({ silent }: { silent: boolean; }): Promise; sendMessage(message: string): Promise; helpAction(): Promise; nextAction(group: MessageGroup): Promise<{ meta: { [x: string]: any; }; items: { message: any[]; id: string; groupId: string; isUser: boolean; }[]; id: string; isUser: boolean; writer?: any; } | undefined>; showContactMethodAction(data: { contactMethod: any; actionKey: string; entryId: string; }): Promise; defaultAction(action: string): Promise; private createInitialEnvelope; private postEnvelope; private handleResponse; private getHttpOptions; private getEntryOfAction; } export default HttpClient;