import { APP_CONFIG_MERGED } from "../config/config-sync";
function isValidTeamRole(role) {
  var _a;
  const availableRoles = ((_a = APP_CONFIG_MERGED.teamRoles) == null ? void 0 : _a.availableTeamRoles) ?? [];
  return availableRoles.includes(role);
}
function getAvailableTeamRoles() {
  var _a;
  return ((_a = APP_CONFIG_MERGED.teamRoles) == null ? void 0 : _a.availableTeamRoles) ?? ["owner", "admin", "member", "viewer"];
}
export {
  getAvailableTeamRoles,
  isValidTeamRole
};
