/*! dom-parser-react v0.3.2 @license MIT */ import * as react from 'react'; import { createElement, ComponentType, JSX } from 'react'; interface DOMParserReactOptions { createElement: typeof createElement; Fragment: ComponentType | string; components?: Record>; } declare const parse: (source: string, options: DOMParserReactOptions) => JSX.Element | string | null; interface DOMParserReactProps { source: string; createElement?: typeof createElement; Fragment?: ComponentType | string; components?: Record>; deps?: unknown[]; } declare function DOMParserReact(props: DOMParserReactProps): react.JSX.Element | null; export { DOMParserReact as default, parse }; export type { DOMParserReactOptions, DOMParserReactProps };