import { WakeQueueService } from '../inbox/wake-queue.service.js'; import type { FeishuConfig } from '../../shared/agent-config.js'; import type { MessageTransport } from './message-transport.js'; import type { FeishuMessageClient } from '../feishu/client.js'; interface FeishuWsClient { close(params?: { force?: boolean; }): void; start(params: { eventDispatcher: unknown; }): Promise; } export interface FeishuMessageTransportOptions { agentRuntimeKind: string; config: FeishuConfig; queue: WakeQueueService; } export interface FeishuMessageTransportDeps { createMessageClient?(config: FeishuConfig): FeishuMessageClient; createWsClient?(config: FeishuConfig): FeishuWsClient; } export declare class FeishuMessageTransport implements MessageTransport { private readonly options; private readonly deps; readonly kind = "feishu"; private readonly client; private displayInfoSyncInFlight; private wsClient?; constructor(options: FeishuMessageTransportOptions, deps?: FeishuMessageTransportDeps); start(): Promise; stop(): Promise; private handleReceiveMessage; private handleReactionCreated; private maybeSyncDisplayInfo; private enrichWithQuotedMessage; private enrichDirectory; } export {}; //# sourceMappingURL=feishu-message-transport.d.ts.map