import { CustomException } from "@intuitionrobotics/ts-common";
import { ErrorBody, ErrorResponse } from "../index";
export declare class ApiException<E extends object | void = void> extends CustomException {
    readonly responseBody: ErrorResponse<E>;
    readonly responseCode: number;
    private dispatchError;
    readonly setErrorBody: (errorBody: ErrorBody<E>) => this;
    setDispatchError(dispatchError: boolean): this;
    getDispatchError(): boolean;
    constructor(responseCode: number, debugMessage?: string, cause?: any);
}
