/** * Decoding the `card.action.trigger` event envelope, and encoding a card * action handler's answer back into Feishu's own callback ACK shape. */ import type { TransportLogger } from '../transport/diagnostics.js'; export interface FeishuCardActionEvent { operatorOpenId?: string; actionValue: Record; /** * What the user typed, for an `input` that carries its own callback. Feishu * sends it as `action.input_value`, outside `action.value`, and only a * form-less input ever reports one: inside a `form` the text is withheld * until submit and arrives as `form_value` instead. */ inputValue?: string; openChatId?: string; openMessageId?: string; raw: unknown; } export declare function normalizeCardActionEvent(raw: unknown): FeishuCardActionEvent; export declare function normalizeCardActionAck(value: unknown, logger: TransportLogger | undefined): Record; //# sourceMappingURL=card-action.d.ts.map