import type { IndexCacheStore } from '../../cache/index/store.ts'; import { type PathSpec } from '../../types.ts'; import type { S3Accessor } from '../../accessor/s3.ts'; export interface S3ReadOptions { offset?: number; size?: number; } /** * 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, _index?: IndexCacheStore, options?: S3ReadOptions): Promise; //# sourceMappingURL=read.d.ts.map