import React, { type ReactNode } from "react";
type MarkdownOverrideProps = Record<string, unknown> & {
    children?: ReactNode;
    inline?: boolean;
    className?: string;
};
export type MarkdownComponentOverrides = Partial<Record<"h1" | "h2" | "h3" | "h4" | "p" | "ul" | "ol" | "li" | "pre" | "code" | "hr", (props: MarkdownOverrideProps) => ReactNode>>;
type MarkdownDisplayProps = {
    source: string;
    className?: string;
    components?: MarkdownComponentOverrides;
    renderInline?: (text: string) => ReactNode;
};
export declare function MarkdownDisplay({ source, className, components, renderInline, }: MarkdownDisplayProps): React.JSX.Element | null;
export {};
