/** * Document store addressing — which store a scope writes to, and how to reach * it. * * A scope is either a project scope (stored under the project root) or the * `global` scope (the personal cross-project brain). Every other module in the * pipeline needs the same answer to "where does this scope live", so the rule * is defined once here rather than duplicated per caller. * * @module v1/cli/knowledge/document-store */ export declare const KNOWLEDGE_NS_PREFIX = "knowledge:"; export declare const GLOBAL_BRAIN_SENTINEL = "@global"; export declare const globalBrainRoot: () => string; /** scope 'global' routes to the personal cross-project store. */ export declare const isGlobalScope: (scope: string) => boolean; /** A `profile:` scope routes to that profile's own store, one directory * per profile inside the global brain — the same shape as `global`, one * level down. Undefined for every other scope, so nothing else moves. * See knowledge/profile-store.ts for why the directory lives there. */ export declare const effectiveRoot: (scope: string, rootDir: string) => string; export declare const storeDbPath: (scope: string) => string | undefined; export declare function namespace(scope: string): string; export declare function contentHash(content: string): string; /** The store root for a scope: the global brain for `global`, else the project. */ export declare function getKnowledgeRoot(scope?: string, rootDir?: string): string; export declare function getBridge(): Promise; //# sourceMappingURL=document-store.d.ts.map