/** * Class representing the response body. * * @export * @class ResponseBody * @typedef {ResponseBody} */ export declare class ResponseBody { /** * The HTTP status code for the response. * * @type {number} */ statusCode: number; /** * The HTTP status message for the response. * * @type {string} */ status: string; /** * The message for the response. * * @type {string} */ message: string; /** * The data for the response. * * @type {*} */ data?: any; /** * The error for the response. * * @type {*} */ error?: any; /** * The error code for the response. * * @type {string} */ errorCode?: string; /** * Creates an instance of ResponseBody. * * @constructor * @param {?number} [statusCode] * @param {?string} [message] * @param {?*} [data] * @param {?*} [error] * @param {?string} [errorCode] */ constructor(statusCode?: number, message?: string, data?: any, error?: any, errorCode?: string); }