import { SHAPE_SEARCH_ITEMS_BASE_URL } from "./consts.js";
const fetchShapes = async (options, makeRequest) => {
  try {
    const response = await makeRequest(SHAPE_SEARCH_ITEMS_BASE_URL, {
      method: "POST",
      headers: {
        "Content-Type": "application/json"
      },
      body: JSON.stringify(options)
    });
    return await response.json();
  } catch (error) {
    console.error("[ShapeService] Failed to fetch shapes:", error);
    throw error;
  }
};
export {
  fetchShapes
};
//# sourceMappingURL=shape-service.js.map
