import {
  rewriteRenameCascadeChunkOperation
} from "./chunk-YPTJJ35S.mjs";
import "./chunk-QJDHVMKT.mjs";
import "./chunk-FYHBHHWK.mjs";
import "./chunk-EUIP2U5F.mjs";
import "./chunk-TRY7JGWO.mjs";
import "./chunk-LZOMFHX3.mjs";

// src/workflows/control-plane/rename-cascade/rename-rewrite-chunk.handler.ts
var handler = async (input) => {
  const result = await rewriteRenameCascadeChunkOperation({
    targets: input.targets,
    token: input.chunkToken
  });
  return {
    entityType: input.entityType,
    entityId: input.entityId,
    tenantId: input.tenantId,
    targetsRewritten: result.targetsRewritten,
    transactItemCount: result.transactItemCount
  };
};
export {
  handler
};
//# sourceMappingURL=rename-rewrite-chunk.handler.mjs.map