import { ReactNode } from 'react';

interface TagMap {
    [key: string]: string | ((content: string) => string | ReactNode);
}
/**
 * Given a tagmap will return a function that can be passed directly as the
 * children of an FormattedHTMLMessage. See the Readme
 *
 */
export declare const makeFormattedHTMLTagReplacer: (tagmap: TagMap) => ((text: string | JSX.Element) => ReactNode);
export {};
