import * as IPv8 from '../types/ipv8'; import 'isomorphic-fetch'; export declare class Ipv8TrustchainClient { private baseUrl; /** * Create a new IPv8 Trustchain client instance * * @param {string} apiUrl Base url of the Ipv8 rest api including the port */ constructor(apiUrl: string); getBlocksForUser(publicKey: string): Promise; getBlock(blockHash: string): Promise; }