/** * Inline `@Name` → Lark `` rewriting for outgoing card bodies. * * When `botmux send --mention 'open_id:Name'` registers a name↔open_id map, the * model can write `@Name` anywhere in the prose and we rewrite it in place into * a real `` so the mention renders exactly where it was * written (next to the relevant line) instead of being dangled in the footer. * The open_ids that were inlined are returned so the caller can drop them from * the footer `发送给:` addressing line (no double @). * * Boundary mirrors the `@BotName` auto-injection matcher in cli.ts: * - lookbehind `(?`. */ text: string; /** open_ids that were inlined into the body (skip these in the footer). */ usedIds: Set; } export declare function applyInlineMentions(text: string, mentions: NamedMention[]): InlineMentionResult; //# sourceMappingURL=inline-mentions.d.ts.map