text: /*
   * # Copyright (c) 2016-2017 The Khronos Group Inc.
   * #
   * # Licensed under the Apache License, Version 2.0 (the "License");
   * # you may not use this file except in compliance with the License.
   * # You may obtain a copy of the License at
   * #
   * #     http://www.apache.org/licenses/LICENSE-2.0
   * #
   * # Unless required by applicable law or agreed to in writing, software
   * # distributed under the License is distributed on an "AS IS" BASIS,
   * # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * # See the License for the specific language governing permissions and
   * # limitations under the License.
   */
  
  const validator = require('./gltf_validator.dart.js');
  
  /**
   * Returns a version string.
   * @returns {string}
   */
  exports.version = () => validator.version();
  
  /**
   * Returns an array of supported extensions names.
   * @returns {string[]}
   */
  exports.supportedExtensions = () => validator.supportedExtensions();
  
  /**
   * Validates an asset from bytes.
   * @param {Uint8Array} data - Byte array containing glTF or GLB data.
   * @param {ValidationOptions} options - Object with validation options.
   * @returns {Promise} Promise with validation result in object form.
   */
  exports.validateBytes = (data, options) => validator.validateBytes(data, options);
  
  /**
   * Validates an asset from JSON string.
   * @param {string} json - String containing glTF JSON.
   * @param {ValidationOptions} options - Object with validation options.
   * @returns {Promise} Promise with validation result in object form.
   */
  exports.validateString = (json, options) => validator.validateString(json, options);
  
  /**
   @typedef {Object} ValidationOptions
   @property {string} uri - Absolute or relative asset URI that will be copied to validation report.
   @property {ExternalResourceFunction} externalResourceFunction - Function for loading external resources. If omitted, external resources are not validated.
   @property {boolean} validateAccessorData - Set to `false` to skip reading of accessor data.
   @property {number} maxIssues - Max number of reported issues. Use `0` for unlimited output.
   @property {string[]} ignoredIssues - Array of ignored issue codes.
   @property {Object} severityOverrides - Object with overridden severities for issue codes.
   */
  
  /**
   * @callback ExternalResourceFunction
   * @param {string} uri - Relative URI of the external resource.
   * @returns {Promise} - Promise with Uint8Array data.
   */
  