import { ResizeAdvancedAction } from "./ResizeAdvancedAction.js"; import { IActionModel } from "../../internal/models/IActionModel.js"; /** * @description Defines how to crop an asset * @extends Actions.Resize.ResizeAdvancedAction * @memberOf Actions.Resize * @see Visit {@link Actions.Resize| Resize} for examples */ declare class ResizeCropAction extends ResizeAdvancedAction { /** * @description Horizontal position for custom-coordinates based cropping. * @param {number} x The x position. */ x(x: number | string): this; /** * @description Vertical position for custom-coordinates based cropping * @param {number} y The y position. */ y(y: number | string): this; /** * @description Controls how much of the original image surrounding the face to keep when using either the 'crop' or 'thumb' cropping modes with face detection. * @param {number | string} z The zoom factor. (Default: 1.0) */ zoom(z: number | string): this; static fromJson(actionModel: IActionModel): ResizeCropAction; } export { ResizeCropAction };