import { ResponseMessage } from "./response-message";
export declare abstract class ResponseHandler {
    /**
     * Inspects the response message's success status.
     *
     * @remarks
     * Throws errors when response message is not successful.
     *
     * @param responseMessage - The response message
     */
    static handleErrors(responseMessage: ResponseMessage): void;
    /**
     * Handle validation errors related to a malformed or in another way invalid request payload send to server.
     *
     * @remarks
     * This method always throws an exception.
     *
     * @param responseMessage - The response message
     */
    private static handleBadRequest;
    /**
     * Handle generic errors.
     *
     * @remarks
     * This method always throws an exception.
     *
     * @param responseMessage - The response message
     */
    private static handleGenericError;
}
