import { ReactNode } from 'react';
import { RenderLeafProps } from 'slate-react';
import { RichTextV2Definition } from '../../../../../controls/rich-text-v2';
import { RichTextV2Plugin } from '../../../../../controls/rich-text-v2/plugin';
type RichTextV2LeafProps = RenderLeafProps & {
    definition: RichTextV2Definition;
    plugins: RichTextV2Plugin[];
};
export declare function RichTextV2Leaf({ definition, plugins, ...props }: RichTextV2LeafProps): 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;
export {};
//# sourceMappingURL=render-leaf.d.ts.map