import { ReactNode } from 'react'; /** * Parses a limited set of inline markdown constructs in a string and returns React nodes. * `lastIndex` is reset at the start of each call and saved/restored around recursive calls * so a single shared regex instance is safe for nested parsing. * * Supported constructs (matched in order): * - `***text***` → `text` * - `**text**` → `text` * - `*text*` → `text` * - `==text==` → `` * - `` `text` `` → `` (no nested markdown inside code) * * For plain-text stripping (e.g. aria-label), use `stripInlineMarkdown` from * `./stripInlineMarkdown` — it has no style dependencies. * * @param text - The string to parse * @returns Array of React nodes representing the parsed content */ export declare const parseInlineMarkdown: (text: string) => ReactNode[];