/** * Format the visible "ByteRover returns N memories: …" line that the * UserPromptSubmit hook emits via `systemMessage`. Pure function so it can * be unit-tested without filesystem or clock dependencies — the caller is * responsible for resolving each entry's age before calling. */ export interface VisibleSummaryEntry { /** Path as it should be rendered. Caller is responsible for stripping the .brv/context-tree/ prefix. */ path: string; /** Last-modified (or originally-curated) date; omit when no signal is available. */ age?: Date; /** Per-result relevance score from `brv query --format json`'s `matchedDocs[].score` (0..1). Omit when unavailable. */ score?: number; } export interface BuildVisibleSummaryOptions { /** Override the reference clock for deterministic age computation in tests. */ now?: Date; } export declare function buildVisibleSummary(entries: readonly VisibleSummaryEntry[], options?: BuildVisibleSummaryOptions): string;