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