import { Image } from "tamagui";
var getImageAspectRatio = async function (imageUrl) {
  return new Promise(function (resolve, reject) {
    Image.getSize(imageUrl, function (w, h) {
      return resolve(w / h);
    }, function (error) {
      return reject(error);
    });
  });
};
export { getImageAspectRatio };
//# sourceMappingURL=image.native.js.map
