/** * Feishu 平台适配器 * * 将现有 feishuClient 包装为 PlatformAdapter 接口, * 提供事件映射和行为透传,不修改原有行为。 */ import type { PlatformAdapter, PlatformSender, PlatformMessageEvent, PlatformActionEvent } from '../types.js'; /** * Feishu 平台适配器实现 * * 通过包装 feishuClient 实现 PlatformAdapter 接口。 * 所有行为透传到底层客户端,不做额外处理。 */ export declare class FeishuAdapter implements PlatformAdapter { readonly platform: "feishu"; private sender; constructor(); start(): Promise; stop(): void; getSender(): PlatformSender; onMessage(callback: (event: PlatformMessageEvent) => void): void; onAction(callback: (event: PlatformActionEvent) => void): void; onChatUnavailable(callback: (conversationId: string) => void): void; onMessageRecalled(callback: (event: unknown) => void): void; onMemberLeft(callback: (conversationId: string, memberId: string) => void): void; onChatDisbanded(callback: (conversationId: string) => void): void; } export declare const feishuAdapter: FeishuAdapter; export { mapMessageEvent, mapActionEvent } from './feishu-adapter-utils.js'; //# sourceMappingURL=feishu-adapter.d.ts.map