import type { ReadTranscriptRequest } from "../../interpretation/transcript/envelopes.js"; import type { NativeHistory } from "../../interpretation/transcript/native.js"; import type { TranscriptReader } from "../../interpretation/transcript/readers.js"; import type { FileVersion, TranscriptFile, TranscriptFiles } from "./files.js"; export interface CapturedSource { readonly before: FileVersion; readonly bytes: Uint8Array; readonly completeBytes: number; readonly file: TranscriptFile; readonly history: NativeHistory; readonly nativeId: string; readonly path: string; } export declare function verifySource(source: Pick, files: TranscriptFiles, checkAbort: () => void): Promise; export declare function captureSource(path: string, cutoff: number | null, reader: TranscriptReader, files: TranscriptFiles, opened: TranscriptFile[], checkAbort: () => void): Promise; interface CaptureDeps { readonly reader: TranscriptReader; readonly files: TranscriptFiles; readonly opened: TranscriptFile[]; readonly checkAbort: () => void; } export declare function captureSources(request: ReadTranscriptRequest, deps: CaptureDeps): Promise<{ requested: CapturedSource; sources: readonly CapturedSource[]; }>; export {}; //# sourceMappingURL=sources.d.ts.map