import type { DropboxAccessor } from '../../accessor/dropbox.ts'; import type { IndexCacheStore } from '../../cache/index/store.ts'; import { PathSpec } from '../../types.ts'; /** * Read a file, optionally only a byte range of it. * * Args: * accessor: Dropbox accessor. * path: the path to read. * index: listing cache, consulted for the entry. * options: `{offset, size}`, the byte window, or absent for the whole file. */ export declare function read(accessor: DropboxAccessor, path: PathSpec, index?: IndexCacheStore, options?: { offset?: number; size?: number; }): Promise; export declare function stream(accessor: DropboxAccessor, path: PathSpec, index?: IndexCacheStore): AsyncIterable; //# sourceMappingURL=read.d.ts.map