import { useI18n as i } from "vue-i18n";
import { helpers as n } from "@vuelidate/validators";
const s = (e, t) => t ? e.test(t) && !t.includes("__") : !0, u = (e, t = "datahub-ui.dh-shared.invalidKeyPattern") => n.withMessage(i().t(t), (r) => r ? e.test(r) && !r.includes("__") : !0), o = (e, t) => () => e.value ? t && !s(t, e.value) ? "datahub-ui.dh-shared.invalidKeyPattern" : "" : "common.mandatoryField";
export {
  u as K,
  o as k
};
