import * as Lark from "@larksuiteoapi/node-sdk"; import { FeishuConfig } from "../config.js"; export type { FeishuConfig } from "../config.js"; export interface MessageEvent { messageId: string; chatId: string; senderId: string; senderName: string; content: string; msgType: string; createTime: number; } export declare function resolveDomain(domain: "feishu" | "lark"): Lark.Domain; export declare function createFeishuClient(config: FeishuConfig): Lark.Client; export declare function createFeishuWSClient(config: FeishuConfig): Lark.WSClient; export declare function createEventDispatcher(config: FeishuConfig): Lark.EventDispatcher; /** * Parse message content from Feishu event * The SDK passes the event directly as { sender, message } */ export declare function parseMessageContent(event: unknown): MessageEvent | null; /** * Send a text message to a chat */ export declare function sendTextMessage(client: Lark.Client, chatId: string, text: string): Promise; /** * Reply to a message */ export declare function replyToMessage(client: Lark.Client, messageId: string, text: string): Promise; /** * Send a markdown card message */ export declare function sendCardMessage(client: Lark.Client, chatId: string, markdown: string, title?: string): Promise; /** * Reply with a markdown card */ export declare function replyWithCard(client: Lark.Client, messageId: string, markdown: string, title?: string): Promise; //# sourceMappingURL=client.d.ts.map