1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| 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$;
|
|