declare module 'react-string-replace' { const replace: ( source: string | T, match: RegExp | string, fn: (match: string, index: number) => JSX.Element, ) => string | T; export = replace; }