'use client';
const i = (s) => {
  const n = [];
  return s.signIn && n.push("password"), s.oauth && n.push("oauth"), s.magicLink && n.push("magic-link"), s.passkeys && n.push("passkey"), s.sso && n.push("sso"), {
    methods: n,
    showSignUpLink: s.signUp,
    showForgotPasswordLink: s.passwordReset
  };
}, o = {
  email: (s) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s),
  password: (s) => s.length >= 8,
  organizationId: (s) => s.length > 0
};
export {
  i as getDefaultSignInConfig,
  o as signInValidation
};
//# sourceMappingURL=index.js.map
