import type { AnchorProps } from 'antd'; import { CSSProperties } from 'react'; import type { Components } from 'react-markdown/lib/ast-to-react'; import type { Pluggable } from 'unified'; import { type HighlighterProps } from "../Highlighter"; import { type MermaidProps } from "../Mermaid"; import { type ImageProps } from "../mdx/Image"; import { type PreProps } from "../mdx/Pre"; import { type VideoProps } from "../mdx/Video"; import type { AProps } from "../types"; import type { TypographyProps } from './Typography'; export interface MarkdownProps extends TypographyProps { allowHtml?: boolean; children: string; className?: string; componentProps?: { a?: Partial; highlight?: Partial; img?: Partial; mermaid?: Partial; pre?: Partial; video?: Partial; }; components?: Components; enableImageGallery?: boolean; enableLatex?: boolean; enableMermaid?: boolean; fullFeaturedCodeBlock?: boolean; onDoubleClick?: () => void; rehypePlugins?: Pluggable[]; remarkPlugins?: Pluggable[]; style?: CSSProperties; variant?: 'normal' | 'chat'; } declare const Markdown: import("react").NamedExoticComponent; export default Markdown;