import { ImageType, RectType } from './interface'; export declare function customContextMenu(e: any): boolean; export declare function cloneImageNode(image: HTMLImageElement): Promise; export declare function computedRectScale({ imageSource, domImg, rects }: { imageSource: HTMLImageElement; domImg: HTMLImageElement; rects: RectType[]; }): { rect: number[]; type: ImageType; needExpand?: boolean; imgId?: string; area?: number; tags?: import("./interface").TagItemType[]; imgUrl?: string; smId?: string; isDefault?: boolean; feature?: string; dupId?: string; lowQuality?: boolean; base64?: string; }[]; export declare function getCaptureRect(rect: number[], type: ImageType): number[];