import { ILoadbalancer, IServer } from '@nestcloud/common'; export interface Rule { init(loadbalancer: ILoadbalancer): any; choose(): IServer; }