import { Account, Adapter, BaseApp } from "onebots"; import { TeamsBot } from "./bot.js"; import type { TeamsConfig, TeamsConversationReference } from "./types.js"; /** Teams 只有 groupChat 属于 canonical Group;频道必须保留 team/channel 层级。 */ export declare function isTeamsGroupConversation(reference: TeamsConversationReference): boolean; export declare class TeamsAdapter extends Adapter { private readonly conversationStore; constructor(app: BaseApp); sendMessage(uin: string, params: Adapter.SendMessageParams): Promise; updateMessage(uin: string, params: Adapter.UpdateMessageParams): Promise; deleteMessage(uin: string, params: Adapter.DeleteMessageParams): Promise; getGroupList(uin: string): Promise; getGroupInfo(uin: string, params: Adapter.GetGroupInfoParams): Promise; getGroupMemberList(uin: string, params: Adapter.GetGroupMemberListParams): Promise; getGroupMemberInfo(uin: string, params: Adapter.GetGroupMemberInfoParams): Promise; getLoginInfo(uin: string): Promise; executePlatformAction(uin: string, action: string, params: Readonly>): Promise; isPlatformActionImplemented(action: string): boolean; getVersion(): Promise; getStatus(uin: string): Promise; private requireGroupReference; createAccount(config: Account.Config<"teams">): Account<"teams", TeamsBot>; private bindLifecycle; private bindEvents; private dispatchTeamsEvent; private compileActivity; private requireBot; private requireMessageConversation; private toGroupMember; } declare module "onebots" { namespace Adapter { interface Configs { teams: TeamsConfig; } } } //# sourceMappingURL=adapter.d.ts.map