import type { DiskAccessor } from '../../accessor/disk.ts'; import type { PathSpec } from '@struktoai/mirage-core/types'; export declare function read(accessor: DiskAccessor, path: PathSpec): Promise; /** * Read a byte range, seeking rather than reading the whole file. * * A null size means the rest of the file, which has no length to allocate for * up front, so those reads accumulate fixed chunks until the handle is spent. * A stated size is one positioned read. * * @param accessor the mount's disk handle * @param path the path to read * @param _index listing cache, unused here * @param offset first byte to read * @param size how many bytes, or null for the rest */ export declare function readRange(accessor: DiskAccessor, path: PathSpec, _index: unknown, offset: number, size: number | null): Promise; //# sourceMappingURL=read.d.ts.map