import type { ItemIdentity } from "@contfu/core"; /** * Drop the links to files the item no longer references, and delete the files * that end up without any link. Item content is replaced wholesale on every * ITEM_CHANGED, so a file that is missing from `keepFileIds` was removed * upstream — without this the old and the new file would both render. */ export declare function pruneItemFiles(itemId: ItemIdentity, keepFileIds: Iterable, ctx?: import("../../infra/db/db-bun.js").DbCtx): void;