import { isAnimationControls } from "../../animation/utils/is-animation-controls.js";
import { isVariantLabel } from "./is-variant-label.js";
import { variantProps } from "./variant-props.js";
function isControllingVariants(props) {
  return isAnimationControls(props.animate) || variantProps.some((name) => isVariantLabel(props[name]));
}
function isVariantNode(props) {
  return Boolean(isControllingVariants(props) || props.variants);
}
export {
  isControllingVariants,
  isVariantNode
};
//# sourceMappingURL=is-controlling-variants.js.map
