import type { OpenClawConfig } from "../../config/config.js"; export type MemoryRecallSettings = { enabled: boolean; minMessageLength: number; maxResults: number; minScore: number; maxTokens: number; skipHeartbeats: boolean; excludeBootstrapped: boolean; randomSlot: boolean; /** * @deprecated Temporal decay is handled by the memory search manager. * This field is accepted in config for backward compatibility but has no effect. */ respectTemporalDecay: boolean; }; export declare function resolveMemoryRecallSettings(cfg: OpenClawConfig): MemoryRecallSettings | null; /** * Run a pre-turn memory recall: search memory with the incoming message * and return formatted context to inject into the system prompt. * * Returns null if recall is disabled, skipped, or finds nothing relevant. */ export declare function runPreTurnMemoryRecall(params: { cfg: OpenClawConfig; agentId: string; incomingMessage: string; isHeartbeat: boolean; bootstrappedPaths?: Set; sessionKey?: string; }): Promise;