import type { Replacer } from '../../../components/eui-markdown-format';
import type { RehypeNode } from '../markdown-types';
import type { ComponentLike } from '@glint/template';
export interface DynamicComponent {
    element: HTMLElement;
    content: Node;
    componentName?: ComponentLike<{
        Args: {
            node: DynamicComponent;
            replaceNode?: Replacer;
        };
    }>;
}
export declare const toDOM: (tree: RehypeNode, options?: {
    rootClasses?: string[];
}) => {
    element: Node | undefined;
    components: DynamicComponent[];
};
//# sourceMappingURL=to-dom.d.ts.map