// Config
export { authOptions, authEnv, userRoles } from './config/auth.config';
export type { UserRole, FamilyGroup } from './config/auth.config';

// Middleware
export { withAuth, withRole, protectApiRoute } from './middleware/auth.middleware';

// Models
export {
  userSchema,
  familyGroupSchema,
  familyMemberSchema,
  sessionSchema,
  accountSchema,
  createUserSchema,
  createFamilyGroupSchema,
  addFamilyMemberSchema,
} from './models/auth.models';
export type {
  User,
  FamilyGroup as AuthFamilyGroup,
  FamilyMember,
  Session,
  Account,
} from './models/auth.models';
