///
import { LexicalCommand } from 'lexical';
import { ImagePayload } from '../../nodes/ImageNode';
export type InsertImagePayload = Readonly;
export declare const INSERT_IMAGE_COMMAND: LexicalCommand;
export default function UploadPlugin({ captionsEnabled, }: {
captionsEnabled?: boolean;
}): JSX.Element | null;
declare global {
interface DragEvent {
rangeOffset?: number;
rangeParent?: Node;
}
}