/**
 * The KVPair model module.
 * @module Ntnx/KVPair
 * @version 4.0.1
 * @class KVPair
 */
export default class KVPair {
    /**
     * Constructs a <code>KVPair</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/KVPair} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/KVPair} The populated <code>KVPair</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;
    /**
     * Returns The key of the key-value pair.
     * @return {string}
     */
    getName(): string;
    /**
     * Sets The key of the key-value pair.
     * @param {string} name The key of the key-value pair.
     */
    setName(name: string): void;
    name: string;
    /**
     * Returns The value associated with the key for this key-value pair
     * @return {string | Number | boolean | string[] | Object<string, string> | MapOfStringWrapper[] | integer[]}
     */
    getValue(): string | number | boolean | string[] | {
        [x: string]: string;
    } | MapOfStringWrapper[] | integer[];
    /**
     * Sets The value associated with the key for this key-value pair
     * @param {string | Number | boolean | string[] | Object<string, string> | MapOfStringWrapper[] | integer[]} value The value associated with the key for this key-value pair
     */
    setValue(value: string | number | boolean | string[] | {
        [x: string]: string;
    } | MapOfStringWrapper[] | integer[]): void;
    value: string | number | boolean | string[] | MapOfStringWrapper[] | integer[] | {
        [x: string]: string;
    };
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        value?: any;
        name?: string;
    };
    validate(scope: any, properties: any, ...args: any[]): Promise<any>;
    validateProperty(scope: any, property: any): ValidationError;
    #private;
}
import MapOfStringWrapper from "./MapOfStringWrapper";
import ValidationError from "../../../validation/ValidationError";
