import { type ComponentType, type RefAttributes } from 'react'; import type { IHTMLIFrameElementConfig } from '@diplodoc/html-extension/runtime'; import type { PluginRuntime, TransformMeta } from "../withMermaid/types.js"; export type WithYfmHtmlBlockOptions = { runtime: PluginRuntime; }; export type WithYfmHtmlBlockProps = { meta: TransformMeta; yfmHtmlBlockConfig?: IHTMLIFrameElementConfig; }; export declare function withYfmHtmlBlock(opts: WithYfmHtmlBlockOptions): (Component: ComponentType>) => import("react").ForwardRefExoticComponent & RefAttributes>;