@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
16 lines • 870 B
TypeScript
import type { QdrantAccessor } from '../../accessor/qdrant.ts';
import type { resolveQdrantConfig } from '../../vfs/qdrant/config.ts';
import { type DetectFn, type Scope } from '../hierarchy/scope.ts';
/**
* The mount's scope table, shaped by its config.
*
* A pinned `collection` removes the leading collection segment, and
* `textField` / `blobField` each add a leaf suffix beside the `.json` row. A
* group slot decodes through `PATH_SAFE`, so its filter holds the exact value
* the directory was rendered from; a `basenameFields` slot stays `RAW`
* because its rendering drops the value's parents and the lister resolves it
* against the payload instead.
*/
export declare function scopesFor(config: ReturnType<typeof resolveQdrantConfig>): Scope[];
export declare const detectFor: (accessor: QdrantAccessor) => DetectFn;
//# sourceMappingURL=scope.d.ts.map