import { MemoryItem, VerificationStatus } from '../types'; export interface PersistedMemoryItem { id: string; content: string; tags: string[]; timestamp: string; metadata?: Record; } export declare function sanitizeMemoryItem(raw: unknown): MemoryItem | null; export declare function prepareMemoryForStorage(memory: MemoryItem): PersistedMemoryItem; export declare function sanitizeKnowledgeBase(raw: unknown): Record; export interface PersistedVerificationEntry { id: string; text: string; status: VerificationStatus; confidence: number; sources: string[]; timestamp: string; sessionId: string; expiresAt: string; } export interface SanitizeVerificationOptions { defaultSessionId: string; defaultTtlMs: number; } export declare function sanitizeVerificationEntry(raw: unknown, options: SanitizeVerificationOptions): (Omit & { timestamp: Date; expiresAt: Date; }) | null; export declare function prepareVerificationForStorage(entry: { id: string; text: string; status: VerificationStatus; confidence: number; sources: string[]; timestamp: Date; sessionId: string; expiresAt: Date; }): PersistedVerificationEntry; export declare function stripLegacyKeys>(payload: T): T;