import type { CleanupSubtreeOptions, CleanupSubtreeResult } from "./subtree.js"; export type CleanupDeleteItemOptions = Omit & { /** Content-tree path of the item to delete. Mutually exclusive with `itemId`. */ path?: string; /** Item GUID. Mutually exclusive with `path`. */ itemId?: string; /** * How to handle external items whose fields reference the target. * Mirrors `cleanup subtree`'s flag — default refuses with blocker * list. Pass `'clear'` / `'prune'` / `'leave'` for the same * semantics as subtree. */ orphanExternalRefs?: CleanupSubtreeOptions["orphanExternalRefs"]; }; export type CleanupDeleteItemResult = CleanupSubtreeResult; export declare const runCleanupDeleteItem: (options: CleanupDeleteItemOptions) => Promise;