import type { LanceDBAccessor } from '../../accessor/lancedb.ts'; import type { LanceDBConfigResolved } from '../../resource/lancedb/config.ts'; import { Scope, type DetectFn, type ScopeMatch } from '../hierarchy/scope.ts'; /** * The mount's scope table, shaped by its config. * * The tree is a function of the mount config, not of the backend: a pinned * `table` removes the leading table segment, every `groupBy` column adds one * directory level, and `blobColumn` adds a second leaf suffix beside the * `.md` card. Group slots are named positionally (`g0`, `g1`, ...) so a * column named `table` cannot collide with the table slot; `filtersOf` maps * them back to column names. Every partial depth shares the one `group` * kind, and its lister derives the depth from the slots, so the lister table * stays static while the scope table varies per mount. */ export declare function scopesFor(config: LanceDBConfigResolved): Scope[]; export declare const detectFor: (accessor: LanceDBAccessor) => DetectFn; /** The table a match addresses: pinned, or the path's first slot. */ export declare function tableOf(config: LanceDBConfigResolved, match: ScopeMatch): string; /** The match's group filters, keyed back to column names. */ export declare function filtersOf(config: LanceDBConfigResolved, match: ScopeMatch): Record; //# sourceMappingURL=scope.d.ts.map