import { CSS_DOWNLOAD_FILENAME } from "@dynatrace/strato-components-preview/charts";
import { _downloadCSV as downloadCSV } from "@dynatrace/strato-components-preview/core";
import { tabularizeLayersData } from "./tabularize-layers-data.js";
const buildAndDownloadCsv = (rawData) => {
  const csvString = tabularizeLayersData(rawData);
  downloadCSV(csvString, CSS_DOWNLOAD_FILENAME);
};
export {
  buildAndDownloadCsv
};
//# sourceMappingURL=build-and-download-csv.js.map
