export declare class ApiError extends Error {
    constructor(message?: string);
}
export type ApiErrorResponse<T> = {
    error: string;
    message: T;
    statusCode: number;
};
export declare class SvcCompanyApiError<T = any> extends ApiError {
    readonly errorResponse: ApiErrorResponse<T>;
    constructor(message: string, errorResponse: ApiErrorResponse<T>);
}
export declare class SvcUnauthenticatedError extends ApiError {
}
export declare class SvcForbiddenError extends ApiError {
    readonly errorResponse: ApiErrorResponse<any>;
    title: string;
    constructor(message: string, errorResponse: ApiErrorResponse<any>);
}
export declare class SvcTimedoutError extends ApiError {
    readonly method: string;
    readonly url: string;
    readonly body: any;
    readonly headers: any;
    readonly timeout: number;
    constructor(method: string, url: string, body: any, headers: any, timeout: number);
}
export declare class SvcBadResponseBody extends ApiError {
    readonly body: string;
    constructor(body: string, jsonParseError: any);
}
