import { LexicalCommand, LexicalEditor } from 'lexical';
import * as React from 'react';
import { InlineImagePayload } from '../../nodes/InlineImageNode';
export type InsertInlineImagePayload = Readonly<InlineImagePayload>;
export declare const INSERT_INLINE_IMAGE_COMMAND: LexicalCommand<InlineImagePayload>;
/**
 * Renders the modal used to insert an inline image.
 * @param props Insert inline image modal props.
 * @returns Inline image insert modal element.
 */
export declare function InsertInlineImageModal({ activeEditor, setShow, show, }: {
    activeEditor: LexicalEditor;
    show: boolean;
    setShow: any;
}): React.JSX.Element;
/**
 * Registers inline image insertion and drag/drop behavior with Lexical.
 * @returns Null because the plugin renders no UI.
 */
export default function InlineImagePlugin(): React.JSX.Element | null;
declare global {
    interface DragEvent {
        rangeOffset?: number;
        rangeParent?: Node;
    }
}
