import { HttpClient } from '@angular/common/http'; import { Store } from '@ngrx/store'; import { ChatSession } from './chat-session'; import { ChatSocketClient } from '../socket/chat-socket'; /** * 授权服务 */ export declare class CharAuthorizeService { private http; private store; private session; private socket; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(http: HttpClient, store: Store<{ chat: any; }>, session: ChatSession, socket: ChatSocketClient); login(username: string, password: string, channelNameOrId: string): void; register(username: string, password: string, email: string): void; /** * 获取频道/房间信息 * @param name */ channelInfo(name: string): void; /** * 获取历史消息 * @param name 房间名称 */ getChannelHistoryMessages(name: string): void; }