import { ApiResult, PeersWrapper, VersionWrapper, PeerInfoWrapper } from '@gny/interfaces';
import { Connection } from '../connection';
export declare class Peer {
    private base;
    constructor(connection: Connection);
    getPeers(): Promise<ApiResult<PeersWrapper, string>>;
    getVersion(): Promise<ApiResult<VersionWrapper, string>>;
    getInfo(): Promise<ApiResult<PeerInfoWrapper, string>>;
}
//# sourceMappingURL=peer.d.ts.map