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): <T extends {
    html: string;
}>(Component: ComponentType<T & RefAttributes<HTMLDivElement>>) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<T & WithYfmHtmlBlockProps> & RefAttributes<HTMLDivElement>>;
