import * as Got from 'got';
export declare class HTTPError extends Got.HTTPError {
    statusCode: number;
    constructor(response: Got.Response<unknown>);
}
export type RestError = HTTPError | Got.RequestError | Got.ReadError | Got.ParseError | Got.TimeoutError | Got.CancelError | Got.CacheError | Got.MaxRedirectsError | Got.UnsupportedProtocolError;
