export declare class AuthError extends Error { /** * The websocket close event code. */ code: number; constructor(message: string, /** * The websocket close event code. */ code: number); } export declare class APIError extends Error { /** * Code identifying the source behind this error. */ code: "MISSING_VERSION" | "MISSING_BLOCKS"; constructor(message: string, /** * Code identifying the source behind this error. */ code: "MISSING_VERSION" | "MISSING_BLOCKS"); }