/**
 * Truncate a string containing ANSI escape codes to fit a given visual width.
 * Preserves ANSI formatting while counting only visible characters.
 */
export declare function truncateAnsi(str: string, maxWidth: number): string;
//# sourceMappingURL=ansi-truncate.d.ts.map