payload
Version:
Node, React and MongoDB Headless CMS and Application Framework
12 lines • 361 B
TypeScript
/// <reference types="node" />
import sharp from 'sharp';
export declare const percentToPixel: (value: any, dimension: any) => number;
export default function cropImage({ cropData, dimensions, file }: {
cropData: any;
dimensions: any;
file: any;
}): Promise<{
data: Buffer;
info: sharp.OutputInfo;
}>;
//# sourceMappingURL=cropImage.d.ts.map