/** * Snapshot windowing — truncate large accessibility snapshots while * preserving pagination/navigation links at the tail. */ export interface WindowSnapshotResult { text: string; truncated: boolean; totalChars: number; offset: number; hasMore?: boolean; nextOffset?: number | null; } declare const DEFAULT_MAX_SNAPSHOT_CHARS = 80000; declare const DEFAULT_SNAPSHOT_TAIL_CHARS = 5000; /** * Return a window of the snapshot YAML. * offset=0 (default): head chunk + tail (pagination/nav). * offset=N: chars N..N+budget from the full snapshot. * Always appends pagination tail so nav refs are available in every chunk. */ export declare function windowSnapshot(yaml: string | null | undefined, offset?: number, maxChars?: number, tailChars?: number): WindowSnapshotResult; export { DEFAULT_MAX_SNAPSHOT_CHARS, DEFAULT_SNAPSHOT_TAIL_CHARS }; //# sourceMappingURL=snapshot.d.ts.map