import type { Client , NodesInfoParams , NodesStatsParams } from 'elasticsearch' ; todo export class Cluster { readonly client : Client ; constructor ( client ) { this . client = client ; } /**
     * Get the Cluster Nodes Info
    */ async nodeInfo ( _params ) { throw new Error ( 'This function is not implemented yet' ) ; } /**
     * Get the Cluster Nodes Stats
    */ async nodeStats ( _params ) { throw new Error ( 'This function is not implemented yet' ) ; } }