export declare class TapServerError extends Error { resultCode: number; static targetComError(): TapServerError; static internalError(msg?: string): TapServerError; static badRequest(): TapServerError; static notImplemented(): TapServerError; static notAvailable(): TapServerError; static notAcceptable(): TapServerError; static notFound(): TapServerError; static unauthorized(): TapServerError; constructor(resultCode: number, additionalMsg?: string); static requestError(resultCode: number): TapServerError; }