export declare type ImageItem = { rotateValue?: number; src?: string; alt?: string; name?: string; }; /** * 工具函数 start */ export declare function num2px(num: any): string; export declare function px2num(str: any): number; /** * el1元素的区域是否超过el2元素 * @param {[type]} el1 [description] * @param {[type]} el2 [description] * @return {Boolean} [description] */ export declare function isLarger(el1: any, el2: any): boolean; export declare function isSourceChange(oldSource: ImageItem[], newSource: ImageItem[]): boolean; export declare const setStyle: (el: any, css: any) => void; export declare const getImageSize: (image: ImageItem & HTMLImageElement, callback: (naturalWidth: number, naturalHeight: number) => void, scope?: any) => void; export declare const isOne2One: (image: any) => boolean; export declare const downloadFn: (url: any, alt: any) => void; export declare const isFullEnabled: () => any; export declare const calculateImg: (naturalWidth: any, naturalHeight: any) => { width: any; height: any; imgRatio: any; }; export declare const getImgByChildren: (children: any) => { name: string; src: string; }[] | undefined; export declare const getImgByProps: (source: any, children: any, imgs: any) => any;