UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

12 lines • 666 B
import type { DropboxAccessor } from '../../accessor/dropbox.ts'; import { DirListing, FileStat, type PathSpec } from '../../types.ts'; import { type DropboxEntry } from './api.ts'; export declare function statFromEntry(entry: DropboxEntry): FileStat; export declare function dropboxPathFromKey(root: string, key: string): string; /** * A folder's children, each as `stat` answers it; past a walk's `limit` * Dropbox is paged no further, and the listing is partial. Mirrors Python's * `readdir`. */ export declare function readdir(accessor: DropboxAccessor, path: PathSpec, limit?: number): Promise<FileStat[] | DirListing>; //# sourceMappingURL=readdir.d.ts.map