import type { Settings } from "../config/settings.js"; import type { MemoryBackend } from "./types.js"; /** * Pick the active memory backend for a Settings instance. * * Selection rules (single source of truth — every memory consumer routes * through this): * - `memory.backend === "hindsight"` → Hindsight remote memory * - `memory.backend === "mnemopi"` → local Mnemopi SQLite memory * - `memory.backend === "sharpshooter"` → friction-gated project decision memory * - `memory.backend === "local"` → local rollout summary pipeline * - everything else → no-op * * `memories.enabled` remains accepted only as a legacy migration input. Once * a config is loaded, `memory.backend` is the sole runtime selector. */ export declare function resolveMemoryBackend(settings: Settings): Promise;