text: /**
   * Temporarily disable TS type check as the global `wd` namespace
   * that comes from `webdev-infra` is currently broken.
   */
  // @ts-nocheck
  const {imgix: imgixFilter} = require('webdev-infra/filters/imgix');
  const {Img: BuildImgShortcode} = require('webdev-infra/shortcodes/Img');
  
  const {imgixDomain} = require('../_data/site.json');
  
  /**
   * Takes an imgix url or path and generates an `<img>` element with `srcset`.
   *
   * @param {wd.ImgArgs} args Named arguments
   * @return {string}
   */
  const Img = BuildImgShortcode(imgixDomain);
  
  /**
   * Generates src URL of image from imgix path or URL.
   *
   * @param {string} src Path (or URL) for image.
   * @param {wd.TODOObject} [params] Imgix API params.
   * @return {string}
   */
  const generateImgixSrc = imgixFilter(imgixDomain);
  
  module.exports = {Img, generateImgixSrc};
  