///
import { ReadStream } from 'fs';
import { Bridge, MatrixUser, RoomBridgeStore, UserBridgeStore, MatrixRoom, FileUploadOpts } from 'matrix-appservice-bridge';
import { Message } from 'wechaty';
import { Manager, Managers } from './manager';
export declare class AppserviceManager extends Manager {
bridge: Bridge;
roomStore: RoomBridgeStore;
userStore: UserBridgeStore;
domain: string;
localpart: string;
constructor();
teamManager(managers: Managers): void;
setBridge(matrixBridge: Bridge): void;
appserviceUserId(): string;
appserviceUser(): Promise;
/**
* Huan(202002) - To be confirmed: isVirtual is not include isBot
*/
isVirtual(matrixUserId: string): boolean;
isBot(matrixUserId: string): boolean;
isUser(matrixUserId: string): boolean;
sendMessage(message: string | Message, inRoom: MatrixRoom, fromUser?: MatrixUser): Promise;
generateVirtualUserId(): string;
storeQuery(dataKey: string, filterData: object): {
[key: string]: string;
};
/**
* The matrix room will be created by the specified creater.
*/
createRoom(userIdList: string[], args?: {
creatorId?: string;
name?: string;
topic?: string;
}): Promise;
roomMembers(roomId: string): Promise;
setProfile(userId: string, avataUrl: string, displayName: string): Promise;
uploadContent(content: string | Buffer | ReadStream, userId?: string, opts?: FileUploadOpts | undefined): Promise;
mxcUrlToHttp(mxcUrl: string): Promise;
}
//# sourceMappingURL=appservice-manager.d.ts.map