/// import { LexicalCommand, LexicalEditor } from 'lexical'; import { ImagePayload } from '../../nodes/ImageNode'; export declare type InsertImagePayload = Readonly; export declare const INSERT_IMAGE_COMMAND: LexicalCommand; export declare function InsertImageUriDialogBody({ onClick, }: { onClick: (payload: InsertImagePayload) => void; }): JSX.Element; export declare function InsertImageUploadedDialogBody({ onClick, }: { onClick: (payload: InsertImagePayload) => void; }): JSX.Element; export declare function InsertImageDialog({ activeEditor, onClose, }: { activeEditor: LexicalEditor; onClose: () => void; }): JSX.Element; export default function ImagesPlugin({ captionsEnabled, }: { captionsEnabled?: boolean; }): JSX.Element | null; declare global { interface DragEvent { rangeOffset?: number; rangeParent?: Node; } }