import type { SessionEvidenceSource, SessionEvidenceSourceOptions, SessionTextEvidenceSource } from './types.js'; /** * A fixed end of the log a source reads up to: a record the capturing writer * vouches for. Appends after it do not change what the source sees. */ export interface EvidenceAnchor { readonly seq: number; readonly offset: number; readonly length: number; readonly sha256: string; } /** * @experimental Bounded, authenticated evidence over one explicitly authorized * session log, or one turn of it. Closed by default (no active turn in scope); * snapshot mode also reads a session whose turn is running, without assuming * its writer is dead. The host owns authorization and the log's directory. * Changes to the log invalidate addresses; record and chunk digests detect * changed bytes. This is not a hostile filesystem sandbox. */ export declare function createSessionTextEvidenceSource(options: SessionEvidenceSourceOptions): SessionTextEvidenceSource; /** * @internal A text source anchored at a record the writer holds: appends * after it neither invalidate its addresses nor become visible to it. */ export declare function createAnchoredSessionTextEvidenceSource(options: SessionEvidenceSourceOptions, anchor: EvidenceAnchor): SessionTextEvidenceSource; /** @experimental Tool-only view of the shared session text index. */ export declare function createSessionEvidenceSource(options: SessionEvidenceSourceOptions): SessionEvidenceSource; //# sourceMappingURL=disk.d.ts.map