/** * 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 { LexicalCommand, LexicalEditor, NodeKey } from "lexical"; export declare const RIGHT_CLICK_IMAGE_COMMAND: LexicalCommand; export default function ImageComponent({ src, altText, nodeKey, width, height, maxWidth, resizable, showCaption, caption, enableCaptions }: { altText: string; caption: LexicalEditor; height: string | number; maxWidth?: number; nodeKey: NodeKey; resizable: boolean; showCaption: boolean; src: string; width: string | number; enableCaptions: boolean; }): JSX.Element;