function normalizeEnvString(value) {
  if (typeof value !== "string") return void 0;
  const trimmed = value.trim();
  return trimmed.length > 0 ? trimmed : void 0;
}
function resolveDefaultEmailFromAddress() {
  return normalizeEnvString(process.env.NOTIFICATIONS_EMAIL_FROM) || normalizeEnvString(process.env.EMAIL_FROM) || normalizeEnvString(process.env.ADMIN_EMAIL);
}
export {
  resolveDefaultEmailFromAddress
};
//# sourceMappingURL=config.js.map
