import { HostDispatchOptions, HostHealthInfo, HostPingOptions, HostRefreshOptions } from "./AbstractHost.types"; import { Service } from "./Service"; export declare abstract class AbstractHost { private readonly id; private services; private health; constructor(id: string); abstract dispatch(options: HostDispatchOptions): Promise; abstract ping(options: HostPingOptions): Promise; abstract refresh(options: HostRefreshOptions): Promise; protected setHealthInfo(health: HostHealthInfo): void; getHealthInfo(): HostHealthInfo; getId(): string; addService(service: Service): this; addServices(services: Service[]): this; hasService(serviceName: string): boolean; hasServiceAndCommand(serviceName: string, commandName: string): boolean; }