import { Roster } from "../network/proto";
import { StatusResponse } from "./proto";
/**
 * RPC to talk with the status service of the conodes
 */
export default class StatusRPC {
    static serviceName: string;
    private conn;
    private timeout;
    constructor(roster: Roster);
    /**
     * Set a new timeout value for the next requests
     * @param value Timeout in ms
     */
    setTimeout(value: number): void;
    /**
     * Fetch the status of the server at the given index
     * @param index Index of the server identity
     * @returns a promise that resolves with the status response
     */
    getStatus(index?: number): Promise<StatusResponse>;
}
