import { isAsyncSendAddressValidationError as e } from "../../errors.js";
import { isNearAddress as s } from "../../../utils/chains/isNearAddress.js";
const t = (r) => r.targetToken?.isIntent === !0 && !r.sendAddress ? !0 : r.targetToken?.isIntent === !1 && r.sendAddress ? r.targetToken.blockchain === "near" ? s(r.sendAddress) && (!r.error || !e(r.error)) : !0 : !1;
export {
  t as isSendAddressValid
};
//# sourceMappingURL=isSendAddressValid.js.map
