import type { BootstrapFileName, WorkspaceBootstrapFile } from './types.js'; export declare const PROFILE_LOAD_ORDER: readonly BootstrapFileName[]; export interface CognitiveProfileStore { loadProfileFiles(params: { profileDir: string; agentId?: string; }): WorkspaceBootstrapFile[]; } export declare class FileSystemCognitiveProfileStore implements CognitiveProfileStore { loadProfileFiles(params: { profileDir: string; agentId?: string; }): WorkspaceBootstrapFile[]; } export type InMemoryProfileRecord = Partial>; /** * Diskless cognitive asset store for cloud Brain workers and isolated tests (ADR 0004 Invariant 1). */ export declare class InMemoryCognitiveProfileStore implements CognitiveProfileStore { private readonly byKey; constructor(initial?: Record); setProfile(key: string, files: InMemoryProfileRecord): void; loadProfileFiles(params: { profileDir: string; agentId?: string; }): WorkspaceBootstrapFile[]; } export declare function getCognitiveProfileStore(): CognitiveProfileStore; export declare function setDefaultCognitiveProfileStore(store: CognitiveProfileStore): void; export declare function resetDefaultCognitiveProfileStore(): void; export declare function runWithCognitiveProfileStore(store: CognitiveProfileStore, fn: () => T): T;