import type { MonoAgentConfig, RedactedMonoAgentConfig } from "./types.js"; export type MonoAgentConfigErrorCode = "missing_required_env" | "invalid_env" | "invalid_json" | "invalid_model_reference" | "incompatible_execution_mode"; export interface MonoAgentConfigErrorDetails { readonly code?: MonoAgentConfigErrorCode; readonly env?: string; readonly reason?: string; readonly [key: string]: unknown; } export declare class MonoAgentConfigError extends Error { readonly code: MonoAgentConfigErrorCode; readonly details: MonoAgentConfigErrorDetails; constructor(code: MonoAgentConfigErrorCode, message: string, details?: MonoAgentConfigErrorDetails); } export interface LoadMonoAgentConfigInput { readonly env: Record; readonly cwd: string; } /** * Keep model first: the layered loader uses this order when attributing an * incompatible memory.llm environment field. */ export declare const MEMORY_LLM_ENV_KEYS: readonly ["MONO_AGENT_MEMORY_LLM_MODEL", "MONO_AGENT_MEMORY_LLM_PROVIDER", "MONO_AGENT_MEMORY_LLM_EXECUTION_MODE", "MONO_AGENT_MEMORY_LLM_ENDPOINT", "MONO_AGENT_MEMORY_LLM_TRACE", "MONO_AGENT_MEMORY_LLM_TIMEOUT_MS"]; export declare const DEFAULT_ARTIFACT_RETENTION_MAX_AGE_DAYS = 365; export declare const DEFAULT_ARTIFACT_RETENTION_MAX_COUNT = 50000; export declare const DEFAULT_MEMORY_ARTIFACT_RETENTION_MAX_AGE_DAYS = 7; export declare const DEFAULT_MEMORY_ARTIFACT_RETENTION_MAX_COUNT = 5000; export declare const MAX_AGENT_NAME_LENGTH = 80; export declare function loadMonoAgentConfig(input: LoadMonoAgentConfigInput): MonoAgentConfig; export declare function redactMonoAgentConfig(config: MonoAgentConfig): RedactedMonoAgentConfig; /** * Resolve the Supermemory container/namespace tag for an agent: an explicit * `memory.supermemory.container` wins, else the trace identity, else a shared default. SINGLE source * of truth — both the store (write path) and the recall tool (read path) must agree on this, or * recall would search a different namespace than captures were written to. */ export declare function resolveSupermemoryContainer(config: MonoAgentConfig): string; //# sourceMappingURL=config.d.ts.map