/**
 * The IPSubnet model module.
 * @module Ntnx/IPSubnet
 * @version 4.0.1
 * @class IPSubnet
 */
export default class IPSubnet {
    /**
     * Constructs a <code>IPSubnet</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/IPSubnet} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/IPSubnet} The populated <code>IPSubnet</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;
    $objectType: string;
    /** @type {object<string, any>} */
    $reserved: object;
    /** @type {object<string, any>} */
    $unknownFields: object;
    /**
     * @return {IPv4Subnet}
     */
    getIpv4(): IPv4Subnet;
    /**
     * @param {IPv4Subnet} ipv4
     */
    setIpv4(ipv4: IPv4Subnet): void;
    ipv4: IPv4Subnet;
    /**
     * @return {IPv6Subnet}
     */
    getIpv6(): IPv6Subnet;
    /**
     * @param {IPv6Subnet} ipv6
     */
    setIpv6(ipv6: IPv6Subnet): void;
    ipv6: IPv6Subnet;
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    hasIpv4(): boolean;
    hasIpv6(): boolean;
    isValid(): boolean;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        ipv6?: {
            $reserved: any;
            $objectType: string;
            $unknownFields: any;
            prefixLength?: number;
            ip?: {
                $reserved: any;
                $objectType: string;
                $unknownFields: any;
                prefixLength?: number;
                value?: string;
            };
        };
        ipv4?: {
            $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 IPv4Subnet from "./IPv4Subnet";
import IPv6Subnet from "./IPv6Subnet";
import ValidationError from "../../../validation/ValidationError";
