declare module '@arcblock/did-motif';
declare module 'd3-geo';
declare module 'topojson-client';
declare module 'versor';
declare module 'axios/*';

// ux svg 由 babel-plugin-inline-react-svg 处理
declare module '*.svg?react' {
  import React from 'react';
  const SVG: React.FC<React.SVGProps<SVGSVGElement>>;
  export default SVG;
}

declare module '*.png' {
  export default string;
}

type Blocklet = import('./type').Blocklet;

interface Window {
  blocklet?: Blocklet;
  env?: Blocklet;
}

declare module globalThis {
  var blocklet: Blocklet;
  var env: Blocklet;
}
