import { ReactElement, ReactNode } from "react"; //#region src/jsxUtils.d.ts type Replacer = { match: RegExp | string; fn: (fullMatch: string, groups: (string | undefined)[]) => ReactElement; }; declare function replaceStringWithJSX(string: string, replacers: Replacer[]): ReactNode; declare function repeatJsx(times: number, element: T): ReactNode; //#endregion export { Replacer, repeatJsx, replaceStringWithJSX };