import { default as React, ReactNode } from 'react';
import { ImageProp, LinkProp, NodeTypes, RichTextNode, RichTextProps, Value, VideoPosterProp } from './types';
declare function getNodeTypes<T = Value>(link: LinkProp, image: ImageProp, videoPoster: VideoPosterProp): NodeTypes<T>;
declare const serializeRichText: <T>(node: RichTextNode<T>, customNodeTypes?: NodeTypes<T>, link?: LinkProp, image?: ImageProp, videoPoster?: VideoPosterProp) => ReactNode;
declare function RichText<T = Value>({ data, className, customNodeTypes, noTextSpacing, link, image, videoPoster, element: ElementTag, ...rest }: RichTextProps<T>): React.JSX.Element | null;
export { getNodeTypes, RichText, serializeRichText };
//# sourceMappingURL=RichText.d.ts.map