import { DistributionGroup } from '@bidi/common-services'; import ChatClient, { Config, JID } from '@bidi/chat-client'; import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import { Channel, ChannelGroup } from '../../models'; export declare class ChatService { private environment; private store; static featureName: string; chatClient: ChatClient; constructor(environment: any, store: Store); private subscription; private state$; userJid$: Observable; loggedIn$: Observable; channels$: Observable; selectedGroup$: Observable; selectedChannel$: Observable; initClient(config: Config): this; login(username: string, distributionGroups$: Observable): void; logout(): void; selectGroup(group: ChannelGroup): void; selectChannel(channel: Channel): void; send(message: any, to: Channel): void; private destroyClient; }