export type RpcErrorType = 'HTTP_ERROR' | 'RPC_ERROR' | 'INVALID_PARAMS_GET_BLOCK' | 'SIGNING_INCOMPLETE' | 'UNKNOWN_ERROR'; /** * Custom Error class for handling Bitcoin RPC errors. */ export declare class BitcoinRpcError extends Error { readonly type: RpcErrorType; readonly code: number; readonly data?: unknown; constructor(type: RpcErrorType, code: number, message: string, data?: unknown); } export declare class BitcoinRestError extends Error { readonly data?: any; constructor(message: string, data?: any); } //# sourceMappingURL=errors.d.ts.map