import type { MonoAgentConfig } from "@mono-agent/config"; import type { ChannelLogger } from "@mono-agent/agent-contracts"; import { createConfiguredMemory } from "./configured-agent.js"; import { MemoryRetrievalService } from "./memory-retrieval.js"; import type { BackgroundSnapshot } from "./background-snapshot.js"; import type { ProcessJobsProtectionPosture } from "./process-jobs-protection.js"; type ConfiguredMemory = Awaited>; export interface MemoryControllerPort { readonly cwd: string; readonly logger: ChannelLogger | undefined; readonly backgroundSnapshot: BackgroundSnapshot | undefined; readonly processJobsProtectionPosture?: ProcessJobsProtectionPosture | undefined; sharedMemory: ConfiguredMemory; sharedMemoryRetrieval: MemoryRetrievalService | undefined; sharedMemoryBuilt: boolean; sharedMemoryBuild: Promise | undefined; observabilityContext(): Promise<{ readonly sourceId?: string; readonly sourceLabel?: string; readonly configPath?: string; }>; recordExporterWarning(warning: { readonly phase: string; readonly message: string; }): void; ensureSharedMemoryRetrieval(coreConfig: MonoAgentConfig, store: ConfiguredMemory): MemoryRetrievalService | undefined; } export declare function memoryStore(controller: MemoryControllerPort, coreConfig: MonoAgentConfig): Promise>>; export declare function resetSharedMemory(controller: MemoryControllerPort): Promise; export declare function __setSharedMemoryForTest(controller: MemoryControllerPort, store: ConfiguredMemory): void; export declare function ensureSharedMemoryRetrieval(controller: MemoryControllerPort, coreConfig: MonoAgentConfig, store: Awaited>): MemoryRetrievalService | undefined; export {}; //# sourceMappingURL=app-controller-memory.d.ts.map