/** * Turn ctx search results into a compact "prior context" brief — designed to be * PREPENDED to an agent's prompt so it starts a task already knowing what past * sessions decided, tried, and hit. Token-frugal on purpose (the whole point of * recall is to avoid re-including fat transcripts). */ import type { CtxResult } from "./ctx.js"; /** de-duplicate to the best snippet per session, newest/highest-rank first. */ export declare function topPerSession(results: CtxResult[], max: number): CtxResult[]; /** the markdown brief. Empty-safe: returns a one-liner when nothing is recalled. */ export declare function recallBrief(results: CtxResult[], opts?: { label: string; max?: number; }): string; //# sourceMappingURL=brief.d.ts.map