import { Plugin } from 'unified';
import { Root } from 'hast';
/**
 * 创建一个 rehype 插件，将特定的 HTML 标签转换为 React 组件
 * @param components React 组件映射
 */
export declare function rehypeComponent(components: Record<string, React.ComponentType<any>>): Plugin<[], Root>;
//# sourceMappingURL=rehype-component.d.ts.map