@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
15 lines • 514 B
TypeScript
import type { OneDriveAccessor } from '../../accessor/onedrive.ts';
import type { PathSpec } from '../../types.ts';
/**
* Read a file, optionally only a byte range of it.
*
* Args:
* accessor: OneDrive accessor.
* path: the path to read.
* options: `{offset, size}`, the byte window, or absent for the whole file.
*/
export declare function read(accessor: OneDriveAccessor, path: PathSpec, options?: {
offset?: number;
size?: number;
}): Promise<Uint8Array>;
//# sourceMappingURL=read.d.ts.map