import type { MemoryStore } from '../types/memory/index.js'; import type { PrepareStep } from '../types/session/prepare-step.js'; export interface MemoryRecallOptions { /** The host must bind this store to the current project/tenant. */ readonly store: MemoryStore; /** Maximum active records considered per request. Default 3. */ readonly maxMemories?: number; /** Maximum added characters, including source labels and framing. Default 6,000. */ readonly maxChars?: number; /** Deadline for the entire read-only recall pass. Default 1,000ms. */ readonly timeoutMs?: number; /** Host baseline when the runtime supplies no latestUserMessage; precedes visible history. */ readonly query?: string; /** Require an exact mixed letter/digit identifier match when the query has one. Default false. */ readonly identifierGrounding?: boolean; /** * A recalled record last updated longer ago than this carries an `age` * ("12 days old") and the block carries the instruction to verify what an * aged memory names before relying on it. Default one day. */ readonly ageNoticeAfterMs?: number; /** Clock for ages; defaults to `Date.now`. */ readonly now?: () => number; } /** * Recall active project knowledge before each model call, without another model * request. The result is ephemeral step context: edits/archive/deletion take * effect on the next step and recalled text never becomes a new user statement. * A timeout/error reaches the runtime's prepareStep diagnostic, with no stale * recall cached for a later request. Other stages' guidance is preserved. */ export declare function createMemoryRecallStep(options: MemoryRecallOptions): PrepareStep; //# sourceMappingURL=memory-recall.d.ts.map