import type { DatabaseSync } from 'node:sqlite'; /** Index the retained source text; source deletion removes chunks through the FK. */ export declare function replaceKnowledgeChunks(db: DatabaseSync, item: { id: string; contentHash: string; normalizedText?: string; sensitivity: string; deletedAt?: string; consentReceiptId?: string; }): void;