/** * Reading the Markdown strings a message carries: native post `md` nodes and * card text fields. * * Two constructs mean more than their characters. An `` tag names one of * the message's mention records — by `mention_key`, or by a `user_id` / `id` * equal to a record's key or identity — and is rewritten to that record's * placeholder so the channel resolves it like every other mention; a tag no * record accounts for stays literal. A Markdown image whose target is a * message image key is that image: the key stands in its place and the image * becomes a resource. A web image stays literal. */ import type { Mention } from './mentions.js'; import type { BodyBuilder } from './body.js'; export declare function readInlineMarkdown(source: string, mentions: Mention[] | undefined, body: BodyBuilder): string; /** The placeholder key of the record `token` names, by key or by identity. */ export declare function mentionKey(mentions: Mention[] | undefined, token: string): string | undefined; //# sourceMappingURL=inline.d.ts.map