/** * Hard-break guard for the legacy `memory.*` configuration shape. * * memory-as-plugin migration moved every vault-tuning knob * (`backend`, half-lives, `embedding`, `recall`, thresholds, …) from the * host's `memory.*` namespace to `plugins.memory-vault.*`. Strict Zod parsing * would already reject the old shape, but its error message is opaque. This * guard runs against the merged raw config before validation and surfaces a * targeted message pointing at the migration note. */ export declare class LegacyMemoryConfigError extends Error { readonly offendingKeys: readonly string[]; constructor(offendingKeys: readonly string[]); } /** * Inspect a raw merged config and throw {@link LegacyMemoryConfigError} when * any of the moved-or-removed `memory.*` keys are present. No-op when the * config has no `memory` block or only the allowed `{enabled, provider}` * fields. */ export declare function assertNoLegacyMemoryKeys(rawConfig: unknown): void; //# sourceMappingURL=memory-config-guard.d.ts.map