import { MarkdownNodeType } from '../common';
export type MarkdownProps = {
    as?: React.ElementType;
    config?: {
        link?: Pick<React.ComponentPropsWithoutRef<'a'>, 'target'>;
        paragraph?: Pick<React.ComponentPropsWithoutRef<'p'>, 'className'>;
    };
    className?: string;
    children?: string;
} & ({
    allowList?: readonly `${MarkdownNodeType}`[];
    blockList?: never;
} | {
    allowList?: never;
    blockList?: readonly `${MarkdownNodeType}`[];
});
export default function Markdown({ as: Element, allowList, blockList, config, className, children, }: MarkdownProps): import("react").JSX.Element | null;
//# sourceMappingURL=Markdown.d.ts.map