/**
 * Feishu / Lark outbound text formatting.
 *
 * Agent output is often Markdown. Feishu card markdown (`tag: markdown`) expects
 * Lark-flavored Markdown (bold/italic/strikethrough, links, code fences, etc.), not
 * CommonMark-only constructs like `**bold**` left uninterpreted in plain `text`
 * messages — and plain text messages do not render Markdown at all.
 *
 * Pipeline mirrors Telegram: Markdown → shared IR → channel-specific rendering.
 */
import type { MarkdownTableMode } from '@xopcai/xopc/config/types.base.js';
export declare function renderFeishuCardMarkdown(markdown: string, options?: {
    tableMode?: MarkdownTableMode;
}): string;
export declare function markdownToFeishuPlainText(markdown: string): string;
export declare function formatFeishuOutboundText(input: {
    text: string;
    renderMode?: 'auto' | 'raw' | 'card';
    /** When true, target is Feishu interactive markdown (card / card element). */
    forCardMarkdown: boolean;
}): string;
