import type { CMDPayload, Editor } from "@block-kit/core"; import type { AttributeMap } from "@block-kit/delta"; import type { ReactLeafContext } from "@block-kit/react"; import { EditorPlugin } from "@block-kit/react"; import type { ReactNode } from "react"; import { SelectionPlugin } from "../shared/modules/selection"; export declare class ImagePlugin extends EditorPlugin { protected editor: Editor; key: string; selection: SelectionPlugin; protected input: HTMLInputElement | null; constructor(editor: Editor); destroy(): void; match(attrs: AttributeMap): boolean; renderLeaf(context: ReactLeafContext): ReactNode; protected pickMultiImage(): Promise; protected uploadImage(file: File): Promise<{ src: string; }>; protected onExec(payload: CMDPayload): Promise; }