import { MemoryItem, VerificationStatus } from '../types';
export interface PersistedMemoryItem {
    id: string;
    content: string;
    tags: string[];
    timestamp: string;
    metadata?: Record<string, unknown>;
}
export declare function sanitizeMemoryItem(raw: unknown): MemoryItem | null;
export declare function prepareMemoryForStorage(memory: MemoryItem): PersistedMemoryItem;
export declare function sanitizeKnowledgeBase(raw: unknown): Record<string, unknown>;
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<PersistedVerificationEntry, 'timestamp' | 'expiresAt'> & {
    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<T extends Record<string, unknown>>(payload: T): T;
