import { PlaitBoard, PlaitElement } from '@plait/core'; export interface CommonImageItem { url: string; width: number; height: number; } export declare const selectImage: (board: PlaitBoard, defaultImageWidth: number, handle: (commonImage: CommonImageItem) => void, acceptImageTypes?: string[]) => void; export declare const buildImage: (board: PlaitBoard, imageFile: File, defaultImageWidth: number, handle: (commonImage: CommonImageItem) => void) => Promise; export declare const getElementOfFocusedImage: (board: PlaitBoard) => PlaitElement | undefined; export declare const addElementOfFocusedImage: (board: PlaitBoard, element: PlaitElement) => void; export declare const removeElementOfFocusedImage: (board: PlaitBoard) => void;