UNPKG

trigger.dev

Version:

A Command-Line Interface for Trigger.dev projects

7 lines (6 loc) 318 B
/** * Parse `{tag}text{/tag}` markup and apply chalk colors. * On malformed input (unclosed, mismatched, or nested tags), returns the entire * string styled with `fallbackStyle` (or unstyled if no fallback). */ export declare function applyColorMarkup(text: string, fallbackStyle?: (t: string) => string): string;