import { ReactNode } from 'react';
import { Text } from 'slate';
import { RichTextV2Definition } from '../../../../controls/rich-text-v2';
import { RichTextV2Plugin } from '../../../../controls/rich-text-v2/plugin';
import { RichTextDataV2 } from '../../../../controls/rich-text-v2';
type Props = {
    text: RichTextDataV2 | undefined;
    definition: RichTextV2Definition | undefined;
};
declare const ReadOnlyTextV2: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
export default ReadOnlyTextV2;
type LeafProps = {
    leaf: Text;
    plugins: RichTextV2Plugin[];
};
export declare function LeafComponent({ plugins, ...props }: LeafProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
//# sourceMappingURL=ReadOnlyTextV2.d.ts.map