/**
 * The IPv4Subnet model module.
 * @module Ntnx/IPv4Subnet
 * @version 4.0.1
 * @class IPv4Subnet
 *
 * @param { IPv4Address } ip
 *
 * @param { Number } prefixLength Prefix length of the IPv4 subnet.
 */
export default class IPv4Subnet {
    /**
     * Constructs a <code>IPv4Subnet</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {module:Ntnx/IPv4Subnet} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/IPv4Subnet} The populated <code>IPv4Subnet</code> 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 <code>IPv4Subnet</code>.
     * IPv4 subnet.
     * @alias module:Ntnx/IPv4Subnet
     *
     * @param { IPv4Address } ip
     *
     * @param { Number } prefixLength Prefix length of the IPv4 subnet.
    */
    constructor(ip: IPv4Address, prefixLength: number);
    ip: IPv4Address;
    prefixLength: number;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * @return {IPv4Address}
     */
    getIp(): IPv4Address;
    /**
     * @param {IPv4Address} ip
     */
    setIp(ip: IPv4Address): void;
    /**
     * Returns Prefix length of the IPv4 subnet.
     * minimum: 0
     * maximum: 32
     * @return {Number}
     */
    getPrefixLength(): number;
    /**
     * Sets Prefix length of the IPv4 subnet.
     * @param {Number} prefixLength Prefix length of the IPv4 subnet.
     */
    setPrefixLength(prefixLength: number): void;
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        prefixLength?: number;
        ip?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            prefixLength?: number;
            value?: string;
        };
    };
    validate(scope: any, properties: any, ...args: any[]): Promise<any>;
    validateProperty(scope: any, property: any): ValidationError;
    #private;
}
import IPv4Address from "../../../common/v1/config/IPv4Address";
import ValidationError from "../../../validation/ValidationError";
