@mastra/core
Version:
13 lines • 678 B
TypeScript
/**
* Text of Slack Block Kit layout blocks (`header`, `section`, `context`,
* `markdown`) in `raw.blocks`, one entry per block, with mrkdwn links converted
* to markdown. Each entry lists the block's parts (a section's text and each
* of its fields) so callers can drop parts they already have. Empty when `raw`
* carries no such blocks.
*
* `@chat-adapter/slack` builds `Message.formatted` from the `text` fallback
* only, so bot and webhook messages that put their content in blocks would
* otherwise reach the agent as just the notification fallback.
*/
export declare function layoutBlockTexts(raw: unknown): string[][];
//# sourceMappingURL=slack-blocks.d.ts.map