/** * `scai content move` — relocate a Sitecore item to a new parent. * * Uses the Authoring GraphQL `moveItem` mutation, which preserves the * item's `itemId`, name, and every inbound reference. The alternative * (delete + recreate) assigns a new itemId, breaking every link, and * is the only path scai had before this verb landed. * * Honours `--what-if` (preview without writing) and `--allow-write` * (the standard env-level gate). The mutation itself isn't * classified `destructive` in `policy/operations.ts` — moves are * recoverable (move back to the original parent) and preserve * inbound refs by design. */ export interface RunContentMoveOptions { config?: string; environmentName?: string; /** Source selector — pass exactly one of itemId / path. */ itemId?: string; path?: string; /** Destination parent — pass exactly one of toItemId / toPath. */ toItemId?: string; toPath?: string; whatIf?: boolean; allowWrite?: boolean; verbose?: boolean; trace?: boolean; quiet?: boolean; json?: boolean; logFile?: string; } export interface ContentMoveResult { itemId?: string; path?: string; targetParent: { itemId?: string; path?: string; }; status: "would-move" | "moved"; } export declare const runContentMove: (options: RunContentMoveOptions) => Promise;