import { ApiResponseType } from 'rest-api-handler';
export default class FioApiException extends Error {
    /**
     * Response from server that throwed an error.
     */
    protected response: ApiResponseType<Record<string, any> | string>;
    /**
     * Constructor.
     *
     * @param response - Processed response from server.
     */
    constructor(response: ApiResponseType<Record<string, any> | string>);
    getResponse(): ApiResponseType<string | Record<string, any>>;
    getRequest(): Request;
}
