import { FC, PropsWithChildren } from 'react'; import { Components } from 'react-markdown'; import { Plugin } from 'unified'; import { MarkdownTheme } from './types'; interface MarkdownWrapperProps extends PropsWithChildren { /** * Remark plugins to apply to the markdown content. * @default [remarkGfm, remarkYoutube, remarkMath] */ remarkPlugins?: Plugin[]; /** * Rehype plugins to apply to the markdown content. * @default [rehypeRaw, rehypeKatex] */ rehypePlugins?: Plugin[]; /** * Theme to apply to the markdown content. */ theme: MarkdownTheme; /** * Custom components to override default markdown rendering. * These will be merged with the default components. */ customComponents?: Components; } export declare const Markdown: FC; export {};