/**
* The Bounds model module.
* @module Ntnx/Bounds
* @version 4.1.1-beta-1
* @class Bounds
*
* @param { Number } x X position of the widget/layout in the dashboard.
*
* @param { Number } y Y position of the widget/layout in the dashboard.
*
* @param { Number } width Width of the widget/layout in the dashboard.
*
* @param { Number } height Height of the widget/layout in the dashboard.
*/
export default class Bounds {
/**
* Constructs a Bounds from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:Ntnx/Bounds} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/Bounds} The populated Bounds instance.
*/
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
/**
* Converts a given snake_case string to camelCase.
* @param {string} snakeStr - The input string in snake_case format.
* @returns {string} - The converted string in camelCase format.
*/
static snakeToCamel(snakeStr: string): string;
/**
* Constructs a new Bounds.
* Bounds of the widget in the dashboard.
* @alias module:Ntnx/Bounds
*
* @param { Number } x X position of the widget/layout in the dashboard.
*
* @param { Number } y Y position of the widget/layout in the dashboard.
*
* @param { Number } width Width of the widget/layout in the dashboard.
*
* @param { Number } height Height of the widget/layout in the dashboard.
*/
constructor(x: number, y: number, width: number, height: number);
x: number;
y: number;
width: number;
height: number;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns X position of the widget/layout in the dashboard.
* @return {Number}
*/
getX(): number;
/**
* Sets X position of the widget/layout in the dashboard.
* @param {Number} x X position of the widget/layout in the dashboard.
*/
setX(x: number): void;
/**
* Returns Y position of the widget/layout in the dashboard.
* @return {Number}
*/
getY(): number;
/**
* Sets Y position of the widget/layout in the dashboard.
* @param {Number} y Y position of the widget/layout in the dashboard.
*/
setY(y: number): void;
/**
* Returns Width of the widget/layout in the dashboard.
* @return {Number}
*/
getWidth(): number;
/**
* Sets Width of the widget/layout in the dashboard.
* @param {Number} width Width of the widget/layout in the dashboard.
*/
setWidth(width: number): void;
/**
* Returns Height of the widget/layout in the dashboard.
* @return {Number}
*/
getHeight(): number;
/**
* Sets Height of the widget/layout in the dashboard.
* @param {Number} height Height of the widget/layout in the dashboard.
*/
setHeight(height: number): void;
get$Reserved(): any;
get$ObjectType(): string;
get$UnknownFields(): any;
toJson(forMutation: any): any;
validate(scope: any, properties: any, ...args: any[]): Promise;
validateProperty(scope: any, property: any): ValidationError;
#private;
}
import ValidationError from "../../../validation/ValidationError";