import React from 'react'; import type { DefaultNodeTypes, SerializedBlockNode, SerializedInlineBlockNode } from '../../../../nodeTypes.js'; import type { SerializedNodeBase } from '../../../../types.js'; import type { JSXConverters } from '../converter/types.js'; import { type ConvertLexicalToJSXArgs } from '../converter/index.js'; export type JSXConvertersFunction | SerializedInlineBlockNode<{ blockName?: null | string; }>> = (args: { defaultConverters: JSXConverters; }) => JSXConverters; type RichTextProps = { /** * Override class names for the container. */ className?: string; /** * Custom converters to transform your nodes to JSX. Can be an object or a function that receives the default converters. */ converters?: JSXConverters | JSXConvertersFunction; /** * If true, removes the container div wrapper. */ disableContainer?: boolean; } & Pick, 'data' | 'disableIndent' | 'disableTextAlign' | 'nodeMap'>; export declare function RichText({ className, converters, data: editorState, disableContainer, disableIndent, disableTextAlign, nodeMap, }: RichTextProps): React.ReactNode; export {}; //# sourceMappingURL=index.d.ts.map