UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

18 lines • 691 B
import type { S3Accessor } from '../../accessor/s3.ts'; import type { ReadRange } from '../../types.ts'; import { type PathSpec } from '../../types.ts'; /** * Extract `(fingerprint, revision)` from a GetObject / HeadObject response. * * VersionId is null on non-versioned buckets; the SDK can also return the * literal string "null" there, which we normalize. */ export declare function fpRevFromS3Response(resp: { ETag?: string | null; VersionId?: string | null; }): { fingerprint: string | null; revision: string | null; }; export declare function read(accessor: S3Accessor, path: PathSpec, options?: ReadRange): Promise<Uint8Array>; //# sourceMappingURL=read.d.ts.map