import { BeforeEach, Errback, EvalScripts } from '@tanem/svg-injector'; import * as React from 'react'; interface BaseProps { [key: string]: unknown; afterInjection?: Errback; beforeInjection?: BeforeEach; evalScripts?: EvalScripts; fallback?: React.ReactType; loading?: React.ReactType; renumerateIRIElements?: boolean; src: string; useRequestCache?: boolean; wrapper?: 'div' | 'span' | 'svg'; } declare type HTMLWrapperType = HTMLSpanElement | HTMLDivElement; declare type SVGWrapperType = SVGSVGElement; export declare type WrapperType = HTMLWrapperType | SVGWrapperType; export declare type Props = BaseProps & React.DetailedHTMLProps, HTMLWrapperType> & React.SVGProps; export interface State { hasError: boolean; isLoading: boolean; } export {};