@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
12 lines • 855 B
TypeScript
import type { GCalAccessor } from '../../accessor/gcal.ts';
import type { PathSpec } from '../../types.ts';
/**
* Read several event files, listing each day they name once. A day's listing
* answers every event asked of it, so a batch of one day's events costs what
* one read does. A path that is not an event file, or names an event its day
* does not hold, is left out for its own read to answer. Mirrors Python's
* `read_many`.
*/
export declare function readMany(accessor: GCalAccessor, paths: readonly PathSpec[], limit: number): Promise<Map<string, Uint8Array>>;
export declare const read: (accessor: GCalAccessor, path: PathSpec, entry?: import("../../types.ts").FileStat | null, parent?: import("../../types.ts").FileStat | null, window?: import("../hierarchy/read.ts").ReadWindow) => Promise<Uint8Array>;
//# sourceMappingURL=read.d.ts.map