import type { SupportedStructuredFormat } from "../parser/lang.js"; import type { OutlineEntry, JumpEntry } from "../parser/types.js"; export interface CachedFileOutline { readonly outline: readonly OutlineEntry[]; readonly jumpTable: readonly JumpEntry[]; } /** * Immutable snapshot of a file read. Built once from a single read, * shared by all consumers (cache, policy, outline extraction) to eliminate * TOCTOU races where the file changes between reads. */ export declare class CachedFile { #private; /** @internal */ private readonly _brand; readonly path: string; readonly rawContent: string; readonly hash: string; readonly lang: SupportedStructuredFormat | null; readonly supportsOutline: boolean; readonly actual: { readonly lines: number; readonly bytes: number; }; constructor(filePath: string, rawContent: string); outlineSnapshot(): Promise; } //# sourceMappingURL=cached-file.d.ts.map