import { Editor } from '@tiptap/react';
import { GetStylesApi } from '@mantine/core';
import { RichTextEditorLabels } from './labels';
import type { RichTextEditorFactory } from './RichTextEditor';
interface RichTextEditorContext {
    getStyles: GetStylesApi<RichTextEditorFactory>;
    editor: Editor | null;
    labels: RichTextEditorLabels;
    withCodeHighlightStyles: boolean | undefined;
    withTypographyStyles: boolean | undefined;
    unstyled: boolean | undefined;
    variant: string | undefined;
}
export declare const RichTextEditorProvider: ({ children, value }: {
    value: RichTextEditorContext;
    children: React.ReactNode;
}) => import("react/jsx-runtime").JSX.Element, useRichTextEditorContext: () => RichTextEditorContext;
export {};
