export class UnexpectedPeerError extends Error { static get code(): string; constructor(message?: string); code: string; } export class InvalidCryptoExchangeError extends Error { static get code(): string; constructor(message?: string); code: string; } export class InvalidCryptoTransmissionError extends Error { static get code(): string; constructor(message?: string); code: string; }