/**
 *
 *
 * @class Consensus
 */
export declare class Consensus {
    /**
     *
     * Creates a Consensus object using a JSON string
     * @param {String} json - JSON string.
     * @returns {Consensus} - Consensus object.
     * @memberof Consensus
     */
    static fromJSON(json: string): Consensus;
    readonly block: BigInt;
    readonly app: BigInt;
    /**
     * Consensus.
     * @constructor
     * @param {BigInt} block - Block height.
     * @param {BigInt} app - App count.
     */
    constructor(block: BigInt, app: BigInt);
    /**
     *
     * Creates a JSON object with the Consensus properties
     * @returns {JSON} - JSON Object.
     * @memberof Consensus
     */
    toJSON(): {
        app: string;
        block: string;
    };
    /**
     *
     * Check if the Consensus object is valid
     * @returns {boolean} - True or false.
     * @memberof Consensus
     */
    isValid(): boolean;
}
