import BaseConsumer from '../../BaseGrpcConsumer';
/**
 * The Attestation module is responsible for Valset (Validator set) and vote management.
 *
 * @group gRPC API
 *
 * @example
 * To use Attestation methods, initialise a {@link ChainGrpcAttestationApi} object to with a gRPC endpoint. An endpoint can be retrieved by using {@link networkEndpoints}.
 * ```ts
 * const endpoint =  getEndpointsForNetwork(Network.Devnet).grpcEndpoint;
 * const client = new ChainGrpcAttestationApi(endpoint.grpcEndpoint);
 * const response = await client.fetchLatestValsetNonce();
 * ```
 */
export declare class ChainGrpcAttestationApi extends BaseConsumer {
    /**
     * Fetch latest valset nonce
     * @returns latest valset nonce.
     */
    fetchLatestValsetNonce(): Promise<any>;
    /**
     * Fetches all valsets
     * @returns all valsets.
     */
    fetchAllValsets(): Promise<any>;
    /**
     *
     * @param valsetNonce nonce of valset.
     * @returns valset.
     */
    fetchValsetByNonce(valsetNonce: number): Promise<{
        valset: any;
    }>;
    /**
     *
     * @returns latest valset.
     */
    fetchLatestValset(): Promise<{
        valset: any;
    }>;
    /**
     *
     * @param chainType chain type.
     * @param chainId chain ID.
     * @param valAddress validator address.
     * @returns last event nonce for a validator.
     */
    fetchLastEventByValidator(chainId: string, valAddress: string): Promise<{
        eventNonce: number;
    }>;
    /**
     *
     * @returns list of all orchestrators.
     */
    fetchAllOrchestrators(): Promise<{
        orchestrator_set: any[];
    }>;
}
