/**
 * This Source Code is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Copyright (c) Infonomic Company Limited
 */
import type * as React from 'react';
import { type EditorState, type LexicalEditor, type SerializedEditorState } from 'lexical';
import type { EditorConfig } from './config/types';
export declare function EditorContext(props: {
    composerKey: string;
    editorConfig: EditorConfig;
    onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void;
    readOnly: boolean;
    value?: SerializedEditorState;
    minHeight?: number | string;
    maxHeight?: number | string;
    children?: React.ReactNode;
    beforeEditor?: React.ReactNode[];
    afterEditor?: React.ReactNode[];
}): React.JSX.Element;
