import { BeforeEach, EvalScripts } from "@tanem/svg-injector";
import * as React from "react";
//#region src/types.d.ts
interface BaseProps {
  afterInjection?: (svg: SVGSVGElement) => void;
  beforeInjection?: BeforeEach;
  desc?: string;
  evalScripts?: EvalScripts;
  fallback?: React.ElementType;
  httpRequestWithCredentials?: boolean;
  loading?: React.ElementType;
  loadingDelay?: number;
  onError?: (error: unknown) => void;
  renumerateIRIElements?: boolean;
  src: string;
  title?: string;
  useRequestCache?: boolean;
  wrapper?: 'div' | 'span' | 'svg';
}
type HTMLWrapperType = HTMLSpanElement | HTMLDivElement;
type SVGWrapperType = SVGSVGElement;
type WrapperType = HTMLWrapperType | SVGWrapperType;
type Props = BaseProps & React.HTMLAttributes<HTMLWrapperType> & React.SVGAttributes<SVGWrapperType>;
//#endregion
//#region src/ReactSVG.d.ts
declare const ReactSVG: React.ForwardRefExoticComponent<Props & React.RefAttributes<WrapperType>>;
//#endregion
export { Props, ReactSVG, WrapperType };
//# sourceMappingURL=react-svg.d.mts.map