UNPKG

@umbraco/json-models-builders

Version:
27 lines (26 loc) 702 B
import { DocumentValueBuilder } from '../documentValueBuilder'; export declare class ImageCropperValueBuilder { parentBuilder: DocumentValueBuilder; crops: any[]; focalPoint: { left: number; top: number; }; temporaryFileId: string; src: string; constructor(parentBuilder: DocumentValueBuilder); withCrop(crop: { label: string; alias: string; width: number; height: number; }): this; withFocalPoint(focalPoint: { left: number; top: number; }): this; withSrc(src: string): this; withTemporaryFileId(temporaryFileId: string): this; done(): DocumentValueBuilder; getValue(): any; }