/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import type { EditorComponentProps, ReactConfig } from './types.js'; import { type LexicalComposerContextWithEditor } from '@lexical/react/LexicalComposerContext'; /** @internal */ export declare function buildEditorComponent(config: ReactConfig, context: LexicalComposerContextWithEditor): (props: Partial) => import("react/jsx-runtime").JSX.Element;