import { STEPS_VAR } from "../../../utils/cel-context.js";
const STEPS_VAR_META = {
  label: "\u524D\u5E8F\u6B65\u9AA4",
  description: "\u672C\u6B21\u89E6\u53D1\u94FE\u4E2D\u524D\u5E8F\u6B65\u9AA4\u53D1\u5E03\u7684\u8F93\u51FA\uFF08\u6309\u6B65\u9AA4\u6807\u8BC6\uFF09"
};
export function registerStepsVariableIfAbsent(env) {
  const declared = new Set(env.getDefinitions().variables.map((v) => v.name));
  if (!declared.has(STEPS_VAR)) env.registerVariable(STEPS_VAR, "dyn", STEPS_VAR_META);
}
export function stepsCelVar() {
  return { type: "dyn", ...STEPS_VAR_META, value: void 0 };
}
