import { DEFAULT_SHAPE_SRC } from "../consts.js";
const resolveShapeSrc = (image) => {
  const src = image?.src;
  if (typeof src === "string") {
    return { url: src };
  }
  return src ?? DEFAULT_SHAPE_SRC;
};
export {
  resolveShapeSrc
};
//# sourceMappingURL=resolve-shape-src.js.map
