import type { MemoryEntry, MemoryScope, MemoryType, MemoryPriority } from '@wrongstack/core/types'; export interface SageLike { id: string; kind: string; status: string; text: string; tags: string[]; createdAt: string; updatedAt: string; importance: number; confidence: number; anchors: Array<{ type: string; path?: string | undefined; symbol?: string | undefined; command?: string | undefined; }>; sources: Array<{ type: string; }>; } export interface SageStatsLike { total: number; byStatus: Record; byKind: Partial>; edges: number; } export interface MemoryAnchorLike { type: string; path?: string | undefined; symbol?: string | undefined; command?: string | undefined; } export interface Stats { total: number; perScope: Record; perType: Partial>; perPriority: Partial>; recency: { week: number; month: number; older: number; }; tagCounts: Map; noTypeCount: number; noPriorityCount: number; sources: Set; } export declare function computeStats(entries: MemoryEntry[], now?: number): Stats; /** * Render a simple ASCII sparkbar: a string of █ chars proportional to the ratio * of `value / total`. Always at least 1 block when value > 0, max 10 blocks. * Returns empty string when value is 0. */ export declare function sparkbar(value: number, total: number): string; export declare function renderSageStats(stats: SageStatsLike, memories: SageLike[], tagFilter?: string, pathFilter?: string): string[]; export declare function renderSageEntries(memories: SageLike[], compact?: boolean, now?: number): string[]; export declare function renderLegacySummary(stats: Stats): string[]; export declare function renderLegacyEntry(e: MemoryEntry, now?: number): string; export declare function renderLegacyCompactList(entries: MemoryEntry[]): string[]; export declare function renderLegacyScopeSection(scope: MemoryScope, entries: MemoryEntry[], now?: number): string[]; //# sourceMappingURL=memory-slash-render.d.ts.map