import type { FeishuInboxItem } from '../../shared/inbox.js'; export interface FeishuReceiveMessageEvent { app_id?: string; create_time?: string; event_id?: string; message: { chat_id: string; chat_type: string; content: string; create_time: string; mentions?: Array<{ id: { open_id?: string; union_id?: string; user_id?: string; }; key: string; mentioned_type?: string; name: string; tenant_key?: string; }>; message_id: string; message_type: string; parent_id?: string; root_id?: string; thread_id?: string; }; sender: { sender_id?: { open_id?: string; union_id?: string; user_id?: string; }; sender_type?: string; tenant_key?: string; }; tenant_key?: string; ts?: string; } export interface FeishuReactionCreatedEvent { action_time?: string; app_id?: string; event_id?: string; message_id: string; operator_id?: { open_id?: string; union_id?: string; user_id?: string; }; operator_type?: string; reaction_type: { emoji_type: string; }; tenant_key?: string; } export declare function feishuReactionEventFromData(data: unknown): FeishuReactionCreatedEvent | undefined; export declare function normalizeFeishuReaction(input: { appId?: string; chatId: string; chatType: string; event: FeishuReactionCreatedEvent; tenantKey?: string; }): FeishuInboxItem; export declare function feishuReceiveMessageEventFromData(data: unknown): FeishuReceiveMessageEvent | undefined; export declare function normalizeFeishuMessage(input: { appId?: string; botOpenId?: string; event: FeishuReceiveMessageEvent; }): FeishuInboxItem | undefined; export declare function isFeishuEvent(event: unknown): event is FeishuInboxItem; export declare function shouldWakeFeishuRuntime(event: FeishuReceiveMessageEvent, botOpenId?: string): boolean; export declare function feishuMessageMentionsBot(event: FeishuReceiveMessageEvent, botOpenId?: string): boolean; export declare function feishuMessageEventId(input: { appId?: string; chatId: string; messageId: string; tenantKey?: string; }): string; //# sourceMappingURL=events.d.ts.map