zhizhi/node_modules/dingtalk-jsapi/api/union/cropImage.d.ts

26 lines
598 B
TypeScript
Raw Normal View History

import { ICommonAPIParams } from '../../constant/types';
/**
*
* @apiName cropImage
*/
export interface IUnionCropImageParams extends ICommonAPIParams {
keepPNG?: boolean;
filePath: string;
aspectRatio: number;
}
/**
*
* @apiName cropImage
*/
export interface IUnionCropImageResult {
path: string;
size: number;
fileType: string;
}
/**
*
* @apiName cropImage
*/
export declare function cropImage$(params: IUnionCropImageParams): Promise<IUnionCropImageResult>;
export default cropImage$;