/** * A cheap structural outline of a file: top-level symbols and where they start. * * Used by the read dedup short-circuit. Telling the model "UNCHANGED, reuse your copy" assumes * the model still *has* that copy — but its context gets compacted as a conversation grows, so * the file it read 200 turns ago may be gone while the server still remembers sending it. A * bare hash gives it nothing to act on. An outline costs ~50 tokens and lets it decide whether * it needs to re-fetch, and where to look if it does. */ export interface OutlineEntry { line: number; text: string; } /** * Extract up to `limit` structural landmarks. Deliberately regex-based rather than a real * parse: this runs on a path whose entire purpose is to avoid spending tokens, so it must not * spend meaningful time either. */ export declare function fileOutline(content: string, limit?: number): OutlineEntry[]; /** One-line-per-symbol rendering for the UNCHANGED marker. */ export declare function formatOutline(entries: OutlineEntry[], totalLines: number): string; //# sourceMappingURL=FileOutline.d.ts.map