import type { Parent } from 'mdast';
import type { Plugin } from 'unified';
/**
 * Transform mdxJsxFlowElement nodes and magic block nodes into proper MDAST node types.
 *
 * This transformer runs after mdxishComponentBlocks and converts:
 * - JSX component elements (Image, Callout, Embed, Recipe) into their corresponding MDAST types
 * - Magic block image nodes (type: 'image') into image-block
 * - Magic block embed nodes (type: 'embed') into embed-block
 * - Figure nodes containing images (from magic blocks with captions) - transforms the inner image
 *
 * This is controlled by the `newEditorTypes` flag to maintain backwards compatibility.
 */
declare const mdxishJsxToMdast: Plugin<[], Parent>;
export default mdxishJsxToMdast;
