/**
 * The IPv6Subnet model module.
 * @module Ntnx/IPv6Subnet
 * @version 4.0.1
 * @class IPv6Subnet
 *
 * @param { IPv6Address } ip
 *
 * @param { Number } prefixLength Prefix length of the IPv6 subnet.
 */
export default class IPv6Subnet {
    /**
     * Constructs a <code>IPv6Subnet</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/IPv6Subnet} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/IPv6Subnet} The populated <code>IPv6Subnet</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>IPv6Subnet</code>.
     * IPv6 subnet.
     * @alias module:Ntnx/IPv6Subnet
     *
     * @param { IPv6Address } ip
     *
     * @param { Number } prefixLength Prefix length of the IPv6 subnet.
    */
    constructor(ip: IPv6Address, prefixLength: number);
    ip: IPv6Address;
    prefixLength: number;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * @return {IPv6Address}
     */
    getIp(): IPv6Address;
    /**
     * @param {IPv6Address} ip
     */
    setIp(ip: IPv6Address): void;
    /**
     * Returns Prefix length of the IPv6 subnet.
     * minimum: 0
     * maximum: 128
     * @return {Number}
     */
    getPrefixLength(): number;
    /**
     * Sets Prefix length of the IPv6 subnet.
     * @param {Number} prefixLength Prefix length of the IPv6 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 IPv6Address from "../../../common/v1/config/IPv6Address";
import ValidationError from "../../../validation/ValidationError";
