/**
* Internal dependencies
*/
import { type Element as ReactElement } from './react';
import type { ConversionMap, InterpolationInput, InterpolationString } from './types';
/**
* This function creates an interpolated element from a passed in string with
* specific tags matching how the string should be converted to an element via
* the conversion map value.
*
* @example
* For example, for the given string:
*
* "This is a string with a link and a self-closing
* tag"
*
* You would have something like this as the conversionMap value:
*
* ```js
* {
* span: ,
* a: ,
* CustomComponentB: ,
* }
* ```
*
* @param interpolatedString The interpolation string to be parsed.
* @param conversionMap The map used to convert the string to
* a react element.
* @throws {TypeError}
* @return A wp element.
*/
declare function createInterpolateElement(interpolatedString: Input, conversionMap: ConversionMap>): ReactElement;
export default createInterpolateElement;
//# sourceMappingURL=create-interpolate-element.d.ts.map