/** * NamespaceManager — manages multiple cognitive namespaces from config. * * Each namespace gets its own CortexStore instance (via storeFactory) so typed * tables are fully isolated. ScopedStore wraps each instance to prefix generic * collection names, preventing cross-namespace collisions on arbitrary collections. */ import type { CortexConfig, NamespaceConfig } from '../core/config.js'; import type { CortexStore } from '../core/store.js'; export declare class NamespaceManager { private readonly namespaces; private readonly defaultNamespace; private readonly configs; constructor(config: CortexConfig, storeFactory: (namespace: string, prefix: string) => CortexStore); /** Get the scoped store for a namespace (defaults to the default namespace). */ getStore(namespace?: string): CortexStore; /** Get the config for a namespace (defaults to the default namespace). */ getConfig(namespace?: string): NamespaceConfig; /** Get the default namespace name. */ getDefaultNamespace(): string; /** Get all namespace names. */ getNamespaceNames(): string[]; /** Get the union of all active cognitive tools across every namespace. */ getActiveTools(): Set; /** Check whether a cognitive tool is active for a given namespace. */ isToolActive(toolName: string, namespace?: string): boolean; /** Get namespace names that allow cross-namespace reads. */ getQueryableNamespaces(): string[]; } //# sourceMappingURL=manager.d.ts.map