/** * Token-to-ANSI-string formatter for markdown tokens. * * Adapted from Claude Code's utils/markdown.ts formatToken. Simplified: * - No syntax highlighting (code blocks render as plain text) * - No theme system (uses chalk directly for consistent terminal styling) * - No Claude-specific stripPromptXMLTags * - No hyperlink linkification of issue references * - Table rendering included inline (no separate component needed) */ import type { Token } from 'marked'; /** * Format a single marked token into an ANSI string. * * @param token - The marked token to format * @param listDepth - Current nesting depth for lists (0 = top-level) * @param orderedListNumber - If inside an ordered list, the current item number; null for unordered * @param parent - Parent token for context-dependent rendering (e.g. text inside links) */ export declare function formatToken(token: Token, listDepth?: number, orderedListNumber?: number | null, parent?: Token | null): string; //# sourceMappingURL=format-token.d.ts.map