import type { MemoryAddOptions, MemoryBundle, MemoryDoctorReport, MemoryLink, MemoryRecord, MemoryReviewPatch, MemoryScope, MemorySearchFilter, MemorySemanticSearchResult, MemoryStore } from './memory-store.js'; import type { MemoryVectorStats } from './memory-vector-store.js'; import type { MemoryImportResult } from './memory-store.js'; import { type HonestMemorySearchOptions, type HonestMemorySearchResult } from './memory-recall-contract.js'; /** * MemoryRegistry, thin observable wrapper around the MemoryStore. * Panels subscribe via listeners; commands push/retrieve through this. */ export declare class MemoryRegistry { private store; private listeners; constructor(store: MemoryStore); getStore(): MemoryStore; subscribe(fn: () => void): () => void; private notify; add(opts: MemoryAddOptions): Promise; search(filter?: MemorySearchFilter): MemoryRecord[]; searchSemantic(filter?: MemorySearchFilter): MemorySemanticSearchResult[]; /** * Search honoring the recall-honesty contract: semantic-or-literal with a stated * fallback reason when the index is unavailable, and (with `options.recall`) the * flagged/confidence-floor exclusion. This is the method a wire client and an * offline surface both route through, so the honesty is identical either way. */ honestSearch(filter?: MemorySearchFilter, options?: HonestMemorySearchOptions): HonestMemorySearchResult; rebuildVectors(): MemoryVectorStats; rebuildVectorsAsync(): Promise; vectorStats(): MemoryVectorStats; doctor(): Promise; reviewQueue(limit?: number, scope?: MemoryScope): MemoryRecord[]; exportBundle(filter?: MemorySearchFilter): MemoryBundle; importBundle(bundle: MemoryBundle): Promise; get(id: string): MemoryRecord | null; link(fromId: string, toId: string, relation: string): Promise; linksFor(id: string): MemoryLink[]; update(id: string, patch: { scope?: MemoryScope; summary?: string; detail?: string; tags?: string[]; validFrom?: number | null; validUntil?: number | null; }): MemoryRecord | null; review(id: string, patch: MemoryReviewPatch): MemoryRecord | null; delete(id: string): boolean; getAll(): MemoryRecord[]; } //# sourceMappingURL=memory-registry.d.ts.map