export interface FileVersion { readonly identity: string; readonly size: number; } /** What one stat of a listed source tells the listing. Both facts come from * the same call: taking the mtime and discarding the size would cost a second * stat to get it back. */ export interface SourceStat { /** The last native write, as an ISO 8601 UTC time. */ readonly lastWriteAt: string; readonly size: number; } export interface TranscriptFile { close(): Promise; read(length: number, start?: number): Promise; version(): Promise; } export interface TranscriptFiles { snapshot?(path: string): Promise; /** Regular files under `path`. `prune` drops a directory before it is * opened, so a store's child conversations cost no walk. */ list?(path: string, recursive?: boolean, prune?: (name: string) => boolean): AsyncIterable; open(path: string): Promise; realpath?(path: string): Promise; version(path: string): Promise; /** The write time and size of one listed regular file. */ sourceStat?(path: string): Promise; } export declare const nodeTranscriptFiles: TranscriptFiles; //# sourceMappingURL=files.d.ts.map