/// import { LexicalCommand, LexicalEditor } from "lexical"; import { ImagePayload } from "../../nodes/ImageNode"; export type InsertImagePayload = Readonly; export declare const INSERT_IMAGE_COMMAND: LexicalCommand; export declare function InsertImageUriDialogBody({ onClick, }: { onClick: (payload: InsertImagePayload) => void; }): import("react/jsx-runtime").JSX.Element; export declare function InsertImageUploadedDialogBody({ onClick, }: { onClick: (payload: InsertImagePayload) => void; }): import("react/jsx-runtime").JSX.Element; export declare function InsertImageDialog({ activeEditor, onClose, enableCaptions, }: { activeEditor: LexicalEditor; onClose: () => void; enableCaptions: boolean; }): JSX.Element; export declare function handlePaste(event: ClipboardEvent, editor: LexicalEditor, caption: string, enableCaptions: boolean, wpAndTaskId?: string, styleConfig?: any): boolean; export declare const updateFigureNumbers: (editor: LexicalEditor) => void; export default function ImagesPlugin({ enableCaptions, wpAndTaskId, styleConfig }: { enableCaptions?: boolean; wpAndTaskId: string; styleConfig?: any; }): JSX.Element | null; export declare function generateStableImageCaptionId(text: string | number, index: number, wpAndTaskId: string): string; declare global { interface DragEvent { rangeOffset?: number; rangeParent?: Node; } }