import type { ClusterManager, ClusterWorker } from "@scrypted/types"; import type { PluginAPI } from "./plugin-api"; export interface ClusterForkServiceInterface { getClusterWorkers(): Promise>; } export declare class ClusterManagerImpl implements ClusterManager { clusterMode: undefined | 'client' | 'server'; private api; private clusterWorkerId; private clusterServicePromise; constructor(clusterMode: undefined | 'client' | 'server', api: PluginAPI, clusterWorkerId: string); getClusterWorkerId(): string; getClusterAddress(): string; getClusterMode(): 'server' | 'client' | undefined; getClusterWorkers(): Promise>; private getClusterService; }