declare module '*.svg' {
  import * as React from 'react';

  const ReactComponent: React.FunctionComponent<
    React.SVGProps<SVGSVGElement> & {
      title?: string;
    }
  >;

  export default ReactComponent;
}

declare module '*.svg?url' {
  const content: {
    src: string;
    width: number;
    height: number;
    blurWidth: number;
    blurHeight: number;
  };
  export default content;
}

namespace NodeJS {
  interface ProcessEnv {
    NEXT_PUBLIC_API_ORIGIN?: string;
    NEXT_PUBLIC_PUBLISH_AS_MIT?: string;
    NEXT_PUBLIC_SW_DEACTIVATED?: string;
  }
}
