UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

22 lines • 1.39 kB
import type { AirtableAccessor } from '../../accessor/airtable.ts'; import type { FileStat } from '../../types.ts'; import type { ScopeMatch } from '../hierarchy/scope.ts'; export declare const BASE: import("../hierarchy/stat.ts").RowFn; export declare const BASE_JSON: import("../hierarchy/stat.ts").RowFn; export declare const TABLE: import("../hierarchy/stat.ts").RowFn; export declare const TABLE_JSON: import("../hierarchy/stat.ts").RowFn; export declare const RECORDS: import("../hierarchy/stat.ts").RowFn; export declare const VIEWS: import("../hierarchy/stat.ts").RowFn; export declare const VIEW: import("../hierarchy/stat.ts").RowFn; /** * A table directory's contents, all known from the base schema. * records.jsonl stays size-unknown: its bytes are the table's records, * which only a paged read produces. */ export declare function tableChildren(table: Record<string, unknown>, baseId: string): FileStat[]; /** A table's saved views, one size-unknown .jsonl file each. */ export declare function viewChildren(table: Record<string, unknown>): FileStat[]; /** The schema of the table a path names, from its base's schema. */ export declare function schemaTable(accessor: AirtableAccessor, match: ScopeMatch): Promise<Record<string, unknown>>; export declare const readdir: import("../hierarchy/probe.ts").ReaddirFn<AirtableAccessor>; //# sourceMappingURL=readdir.d.ts.map