import { parseBooleanToken } from "../boolean.js";
function isTenantDataEncryptionEnabled() {
  const rawEnv = process.env.TENANT_DATA_ENCRYPTION;
  if (rawEnv === void 0) return true;
  const trimmed = rawEnv.trim();
  if (!trimmed) return true;
  const parsed = parseBooleanToken(trimmed);
  return parsed === null ? true : parsed;
}
function isEncryptionDebugEnabled() {
  const parsed = parseBooleanToken(process.env.TENANT_DATA_ENCRYPTION_DEBUG ?? "");
  return parsed === true;
}
export {
  isEncryptionDebugEnabled,
  isTenantDataEncryptionEnabled
};
//# sourceMappingURL=toggles.js.map
