@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
13 lines • 793 B
TypeScript
import type { SharePointAccessor } from '../../accessor/sharepoint.ts';
import { type DirListing, FileStat, type PathSpec } from '../../types.ts';
export declare function readdir(accessor: SharePointAccessor, path: PathSpec, limit?: number): Promise<FileStat[] | DirListing>;
/**
* Every item under a folder of a document library, each as its folder's
* listing renders it, from the folders' listings batched (`batchTree`).
*
* Null above the libraries and for a library that is not there: the sites and
* a site's libraries are walked, and the walk reads each library's tree on its
* own. Mirrors Python's `tree`.
*/
export declare function tree(accessor: SharePointAccessor, path: PathSpec, limit?: number): Promise<Map<string, FileStat> | null>;
//# sourceMappingURL=readdir.d.ts.map