import React from 'react';
import type { DefaultNodeTypes, SerializedBlockNode, SerializedInlineBlockNode } from '../../../../nodeTypes.js';
import type { JSXConverters } from '../converter/types.js';
import { type ConvertLexicalToJSXArgs } from '../converter/index.js';
export type JSXConvertersFunction<T extends {
    [key: string]: any;
    type?: string;
} = DefaultNodeTypes | SerializedBlockNode<{
    blockName?: null | string;
}> | SerializedInlineBlockNode<{
    blockName?: null | string;
}>> = (args: {
    defaultConverters: JSXConverters<DefaultNodeTypes>;
}) => JSXConverters<T>;
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<ConvertLexicalToJSXArgs, 'data' | 'disableIndent' | 'disableTextAlign' | 'nodeMap'>;
export declare const RichText: React.FC<RichTextProps>;
export {};
//# sourceMappingURL=index.d.ts.map