export interface IngestMessage { role: "user" | "assistant"; text: string; turn_index: number; } export interface IngestResult { processed: number; decisions: { add: number; update: number; noop: number; }; } export interface SearchResult { id: string; tier: "raw" | "curated"; category: string | null; title: string | null; content: string; score: number; relevance_score: number; author_username: string; updated_at: number; } export interface Candidate { id: string; content: string; reinforce_count: number; session_id: string | null; } export declare class MemoryAuthError extends Error { constructor(message: string); } export declare function ingest(sessionId: string, messages: IngestMessage[], final: boolean): Promise; export declare function search(query: string, options?: { tier?: string; category?: string; limit?: number; threshold?: number; }): Promise; export declare function sendFeedback(id: string, useful: boolean): Promise<{ updated: boolean; }>; export declare function listCandidates(): Promise; export declare function promote(rawIds: string[], options?: { title?: string; category?: string; tags?: string[]; }): Promise<{ id: string; }>; export declare function createCurated(input: { title: string; category: string; content: string; tags?: string[]; }): Promise<{ id: string; }>; export declare function deleteSession(sessionId: string): Promise<{ deleted: boolean; }>; //# sourceMappingURL=api.d.ts.map