import { parseWebscene } from "./lib/parsers/parse-arcgis-webscene.js";
// __VERSION__ is injected by babel-plugin-version-inline
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
const VERSION = typeof "4.4.2" !== 'undefined' ? "4.4.2" : 'latest';
/**
 * Loader for ArcGIS WebScene
 * Spec - https://developers.arcgis.com/web-scene-specification/objects/webscene/
 */
export const ArcGISWebSceneLoader = {
    dataType: null,
    batchType: null,
    name: 'ArcGIS Web Scene Loader',
    id: 'arcgis-web-scene',
    module: 'i3s',
    version: VERSION,
    mimeTypes: ['application/json'],
    parse,
    extensions: ['json'],
    options: {}
};
/**
 * Parse ArcGIS webscene
 * @param data
 */
async function parse(data) {
    return parseWebscene(data);
}
//# sourceMappingURL=arcgis-webscene-loader.js.map