import type { GovernorDepth } from "../policy/types.js"; import type { OutlineEntry, JumpEntry } from "../parser/types.js"; import type { FileSystem } from "../ports/filesystem.js"; import type { JsonCodec } from "../ports/codec.js"; import type { ProseProjectionProvider } from "./colorful-prose-projection.js"; export interface SafeReadResult { path: string; projection: "content" | "outline" | "refused" | "error"; reason: string; content?: string | undefined; outline?: OutlineEntry[] | undefined; jumpTable?: JumpEntry[] | undefined; estimatedBytesAvoided?: number | undefined; next?: string[] | undefined; actual?: { lines: number; bytes: number; } | undefined; thresholds?: { lines: number; bytes: number; } | undefined; sessionDepth?: GovernorDepth | undefined; } export interface SafeReadOptions { fs: FileSystem; codec: JsonCodec; content?: string | undefined; intent?: string | undefined; policyPath?: string | undefined; graftignorePatterns?: string[] | undefined; sessionDepth?: GovernorDepth | undefined; budgetRemaining?: number | undefined; proseProjector?: ProseProjectionProvider | undefined; } export declare function safeRead(filePath: string, options: SafeReadOptions): Promise; //# sourceMappingURL=safe-read.d.ts.map