/**
 * The AppMessage model module.
 * @module Ntnx/AppMessage
 * @version 4.0.1
 * @class AppMessage
 */
export default class AppMessage {
    /**
     * Constructs a <code>AppMessage</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/AppMessage} obj Optional instance to populate.
     * @param callFromChild {Boolean} Flag to recognise calling instance
     * @return {module:Ntnx/AppMessage} The populated <code>AppMessage</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 message string.
     * @return {string}
     */
    getMessage(): string;
    /**
     * Sets The message string.
     * @param {string} message The message string.
     */
    setMessage(message: string): void;
    message: string;
    /**
     * @return {MessageSeverity}
     */
    getSeverity(): MessageSeverity;
    /**
     * @param {MessageSeverity} severity
     */
    setSeverity(severity: MessageSeverity): void;
    severity: string;
    /**
     * Returns The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
     * @return {string}
     */
    getCode(): string;
    /**
     * Sets The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
     * @param {string} code The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
     */
    setCode(code: string): void;
    code: string;
    /**
     * Returns Locale for this message. The default locale would be 'en-US'.
     * @return {string}
     */
    getLocale(): string;
    /**
     * Sets Locale for this message. The default locale would be 'en-US'.
     * @param {string} locale Locale for this message. The default locale would be 'en-US'.
     */
    setLocale(locale: string): void;
    locale: string;
    /**
     * Returns The error group associated with this message of severity ERROR.
     * @return {string}
     */
    getErrorGroup(): string;
    /**
     * Sets The error group associated with this message of severity ERROR.
     * @param {string} errorGroup The error group associated with this message of severity ERROR.
     */
    setErrorGroup(errorGroup: string): void;
    errorGroup: string;
    /**
     * Returns The map of argument name to value.
     * @return {Object<string, string>}
     */
    getArgumentsMap(): {
        [x: string]: string;
    };
    /**
     * Sets The map of argument name to value.
     * @param {Object<string, string>} argumentsMap The map of argument name to value.
     */
    setArgumentsMap(argumentsMap: {
        [x: string]: string;
    }): void;
    argumentsMap: {
        [x: string]: string;
    };
    get$Reserved(): any;
    get$ObjectType(): string;
    get$UnknownFields(): any;
    toJson(forMutation: any): {
        $reserved: any;
        $objectType: string;
        $unknownFields: any;
        argumentsMap?: any;
        errorGroup?: string;
        locale?: string;
        code?: string;
        severity?: string;
        message?: string;
    };
    validate(scope: any, properties: any, ...args: any[]): Promise<any>;
    validateProperty(scope: any, property: any): ValidationError;
    #private;
}
import MessageSeverity from "../../../common/v1/config/MessageSeverity";
import ValidationError from "../../../validation/ValidationError";
