/**
 * Incremental syntax highlighting for the write tool's streaming content.
 *
 * As the LLM streams file content, we incrementally highlight new lines
 * (single-line highlighting) and periodically re-highlight the first N lines
 * with full-context highlighting for better accuracy at the file's head.
 */
import { type WriteHighlightCache } from './tool-execution-types.js';
/** Build a complete highlight cache from scratch for the given file content. */
export declare function buildWriteHighlightCache(rawPath: string | null, fileContent: string): WriteHighlightCache | undefined;
/**
 * Incrementally update the highlight cache with appended content.
 * Falls back to a full rebuild if the content diverged from the cache.
 */
export declare function updateWriteHighlightCacheIncrementally(current: WriteHighlightCache | undefined, rawPath: string | null, fileContent: string): WriteHighlightCache | undefined;
//# sourceMappingURL=tool-execution-write-highlight.d.ts.map