/** * Renders the small markdown subset that `formatEvent` emits into ANSI-styled * terminal text — the stdout analogue of `renderTelegramHtml`. The semantic * event formatter stays surface-agnostic (it speaks markdown); each sink renders * that markdown for its own surface (Telegram → HTML, stdout → ANSI/plain). * * When `colour` is false (a non-TTY, NO_COLOR, or --plain), the markup is * STRIPPED to clean plain text rather than styled, so a piped log carries no * escape codes and no leaked `**` asterisks. Pure (no I/O) so it is unit-tested * directly. */ export declare function renderAnsi(markdown: string, colour: boolean): string;