/**
 * Turn a raw streamed build-log chunk into clean display lines.
 *
 * Splits on `\n` AND bare `\r` (an in-place redraw becomes its own line rather
 * than fusing with another), strips ANSI/escape/control bytes, trims trailing
 * whitespace, and drops the empty element a trailing newline would add (interior
 * blank lines — e.g. the intentional spacer before the first log line — are
 * kept). A chunk may be a single line or several; callers spread the result.
 */
export declare function sanitizeBuildLogLines(chunk: string): string[];
