export { copyFixedUint8ArrayWithinLimit, getFixedUint8ArrayBuffer, getFixedUint8ArrayByteLength, } from "./file-system-capabilities.js"; export interface CapturedBoundedTextReader { readUtf8(path: string, maximumBytes: number, label: string): Promise<{ content: string; byteLength: number; }>; } export interface CapturedSnapshotTextReader { readUtf8(path: string, containmentRoot: string, maximumBytes: number, label: string): Promise<{ content: string; byteLength: number; }>; } /** * Capture a filesystem's genuine exact bounded-read capability without invoking * accessors or Proxy traps. The returned reader never falls back to text or * unbounded binary reads. A whole-file reader is usable only when its fixed * upstream ceiling is no larger than the caller's requested maximum. */ export declare function captureBoundedTextReader(value: unknown, label?: string): CapturedBoundedTextReader; /** * Capture and require a filesystem's root-bound stable snapshot capability. * The returned reader keeps the original method authority, admits a fixed * byte copy, and decodes strict UTF-8 without consulting mutable globals. */ export declare function captureSnapshotTextReader(value: unknown, label?: string): CapturedSnapshotTextReader; //# sourceMappingURL=bounded-text-reader.d.ts.map