import type { RefObject } from 'react'; import type { MdxArtifacts } from '@diplodoc/mdx-extension'; import type { MDXComponents } from 'mdx/types'; import * as runtime from 'react/jsx-runtime'; export interface MdxPortalsProps { /** Ref to the container element into which the rendered HTML is injected. */ refCtr: RefObject; /** HTML produced by the markdown transform for the current content. */ html: string; /** Map of components rendered from embedded MDX/JSX in the markdown content. */ components?: MDXComponents; /** Artifacts collected by the MDX transform, required to hydrate the components. */ mdxArtifacts?: MdxArtifacts; /** CSP nonce applied to scripts that execute compiled MDX artifacts. */ nonce?: string; /** Arbitrary value exposed to the MDX components through {@link MdxDataContext}. */ mdxContext?: Record; } export declare function MdxPortals({ refCtr, html, components, mdxArtifacts, nonce, mdxContext, }: MdxPortalsProps): runtime.JSX.Element; export declare namespace MdxPortals { var displayName: string; }