import { Storage } from './storage'; import { IWebClient } from './webclient'; import { UploadItemParameters } from './upload-item-parameters'; export declare class BankClient { private urlBase; private ipfsUrlBase; private storage; private webClient; private privateKey; private bootstrapPromise; private bootstrapResult; constructor(urlBase: string, ipfsUrlBase: string, storage?: Storage, webClient?: IWebClient); getPub(): Promise; bootstrap(): any; getNonce(): Promise; getBalance(): Promise; upload(params: UploadItemParameters): Promise; uploadSlimJSON(item: any): Promise; uploadSlimText(item: string): Promise; appendBank(bankLink: string, itemHash: string): Promise; retrievePrivate(peerAddr: string, topic: string): Promise; appendPrivate(peerAddr: string, topic: string, hash: string): Promise; getOrCreateContact(peerAddr: string, contact: string, type: string): Promise; private getContactHash; private getItemsForCommaList; private getPriv; private makePlaintextPayload; private parseBankLink; }