UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

12 lines • 766 B
import type { GoogleApiAccessor } from '../../accessor/google_api.ts'; import type { DetectFn } from '../hierarchy/scope.ts'; import { makeStat } from '../hierarchy/stat.ts'; /** * The stat of a Google app mount: a file resolves through Drive. A file a * corpus listing named is answered by the mount from that listing; one it did * not is fetched by its id alone. Sheets, Docs and Slides stat the same tree * and differ only in the MIME type a file carries and what they name it. * Mirrors Python's `make_app_stat`. */ export declare function makeAppStat<A extends GoogleApiAccessor>(mime: string, detectScope: DetectFn, makeFilename: (title: string, id: string, modified: string) => string): ReturnType<typeof makeStat<A>>; //# sourceMappingURL=stat.d.ts.map