import { Store } from '@ngrx/store';
import { Observable } from 'rxjs';
import { Channel, ChannelGroup } from '../../models';
export declare const featureName = "@bidi/common-components Chat Reducers";
export declare class ChatService {
    private environment;
    private store;
    chatClient: any;
    private state$;
    userJid$: Observable<string>;
    loggedIn$: Observable<never>;
    channels$: Observable<Channel[]>;
    selectedGroup$: Observable<ChannelGroup>;
    selectedChannel$: Observable<Channel>;
    constructor(environment: any, store: Store<any>);
    login(user: string): void;
    selectGroup(group: ChannelGroup): void;
    selectChannel(channel: Channel): void;
    send(message: any, to: Channel): void;
}
