import { i as OpenClawConfig } from "./types.openclaw-CpnoYlBx.js"; import { f as RegisteredMemorySearchManager } from "./memory-state-h-9q2ZAo.js"; //#region src/plugin-sdk/memory-host-search.d.ts type ActiveMemorySearchPurpose = "default" | "status"; /** Active manager lookup result, including a soft error when memory is unavailable. */ type ActiveMemorySearchManagerResult = { manager: RegisteredMemorySearchManager | null; error?: string; }; /** Loads the active memory search manager for one agent and purpose. */ declare function getActiveMemorySearchManager(params: { cfg: OpenClawConfig; agentId: string; purpose?: ActiveMemorySearchPurpose; }): Promise; /** Closes every active memory search manager for the provided config. */ declare function closeActiveMemorySearchManagers(cfg?: OpenClawConfig): Promise; /** Closes the active memory search manager for one agent. */ declare function closeActiveMemorySearchManager(params: { cfg: OpenClawConfig; agentId: string; }): Promise; //#endregion export { ActiveMemorySearchManagerResult, closeActiveMemorySearchManager, closeActiveMemorySearchManagers, getActiveMemorySearchManager };