import { HttpMembershipList } from "../../bma/lib/dtos"; export declare class Contacter { readonly host: string; readonly port: number; path: string; options: { timeout: number; }; fullyQualifiedHost: string; constructor(host: string, port: number, opts?: any); static fromHostPortPath(host: string, port: number, path: string, opts: { timeout?: number; }): Contacter; getSummary(): Promise; getCertifiedBy(search: string): Promise; getRequirements(search: string): Promise; getRequirementsPending(minsig: number): Promise; getLookup(search: string): Promise; getBlock(number: number): Promise; getCurrent(): Promise; getMilestonesPage(): Promise; getMilestones(page: number): Promise; getPeer(): Promise; getPeers(obj?: any): Promise; getPeersArray(): Promise; getSources(pubkey: string): Promise; getBlocks(count: number, fromNumber: number): Promise; postPeer(peer: any): Promise; postIdentity(raw: string): Promise; postCert(cert: string): Promise; postRenew(ms: string): Promise; postRevocation(rev: string): Promise; wotPending(): Promise; wotMembers(): Promise; postBlock(rawBlock: string): Promise; processTransaction(rawTX: string): Promise; private get; private post; static protocol(port: number): "https://" | "http://"; static quickly(host: string, port: number, opts: any, callbackPromise: any): Promise; static quickly2(peer: any, opts: any, callbackPromise: any): Promise; static fetchPeer(host: string, port: number, opts?: any): Promise; static fetchBlock(number: number, peer: any, opts?: any): Promise; static isReachableFromTheInternet(peer: any, opts: any): Promise; }