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