export declare const colors: { red: string; green: string; yellow: string; cyan: string; reset: string; bold: string; italic: string; dim: string; }; export interface RenderOptions { /** * If true, render `[text](url)` as an OSC 8 hyperlink. If false, render * as `text (url)` with the URL in cyan. Defaults to `supportsOsc8(env)`. */ osc8?: boolean; } /** * Heuristic check for OSC 8 hyperlink support. Errs on the side of falling * back — terminals that don't render OSC 8 typically print the raw escape * sequence as visible junk, which is worse than a plain `text (url)`. */ export declare function supportsOsc8(env?: NodeJS.ProcessEnv): boolean; /** * Render a markdown string to an ANSI-colored string. Pure — no I/O. Errors * are not thrown; malformed input degrades to as-much-as-we-can text. */ export declare function renderMarkdown(md: string, options?: RenderOptions): string; //# sourceMappingURL=render.d.ts.map