import { BaseError } from '../generated/models/BaseError';
import { DrsErrorResponse } from '../generated/models/DrsErrorResponse';
import { OAuthErrorResponse } from '../generated/models/OAuthErrorResponse';
import { TwoFactorAuthErrorResponse } from '../generated/models/TwoFactorAuthErrorResponse';
type SynapseError = BaseError | DrsErrorResponse | OAuthErrorResponse | TwoFactorAuthErrorResponse;
/**
 * Error message returned by the Synapse backend joined with the
 * HTTP status code.
 */
export declare class SynapseClientError extends Error {
    status: number;
    reason: string;
    errorResponse?: SynapseError;
    url: string;
    constructor(status: number, reason: string, url: string, errorResponse?: SynapseError);
}
export {};
