import type { LogSegment } from '../engine.js'; export declare function parseAnsiSegments(line: string): LogSegment[]; export declare function plainSegments(text: string): LogSegment[]; /** * Matches are located on the concatenated line text so a term straddling an * ANSI color boundary still highlights, then sliced back onto the segments it * covers. */ export declare function highlightSegments(segments: LogSegment[], searchTerm: string): LogSegment[];