import o from"@arcgis/core/layers/support/TileInfo";import{checkArg as i}from"../utilities/checkArg.js";export var TileInfo;!function(r){r.toEsriApiTileInfo=function(r){return i("json",r).isNotMissing(),o.fromJSON(r)},r.fromEsriApiTileInfo=function(o){i("tileInfo",o).isNotMissing();const r=o.toJSON();return o.format&&(r.format=o.format.toLowerCase()),r}}(TileInfo||(TileInfo={}));