export interface MemoryEntry { timestamp: string; action: string; result: string; } export declare function getMemoryPath(): string; export declare function getDbPath(): string; /** * Unconditionally rebuilds the SQLite index artifact from MEMORY.md. * This is the "Recovery Path" for data integrity. */ export declare function rebuildIndex(dryRun?: boolean): void; export declare function initMemory(dryRun?: boolean): void; export declare function appendEntry(action: string, result: string, dryRun?: boolean): void; /** * Appends a hidden metadata block to MEMORY.md for machine parsing. */ export declare function appendMetadataBlock(metadata: Record, type?: string, dryRun?: boolean): void; /** * Surgical retrieval from the derivative SQLite index using FTS5. * Returns ranked results matching the query. */ export declare function searchMemory(query: string, options?: { createIfMissing?: boolean; }): MemoryEntry[]; export declare function readMemory(): { header: string; entries: MemoryEntry[]; raw: string; }; export declare function getEntryCount(): number; export declare function needsDream(): boolean; export declare function writeCompressedMemory(summary: string, recentEntries: MemoryEntry[], dryRun?: boolean): void; export declare function getMemoryContext(maxChars?: number): string; export declare function printMemoryStatus(): void; //# sourceMappingURL=memory.d.ts.map