import { EventEmitter } from "node:events"; import { Cluster, ClusterPeer } from "./cluster.js"; import { HealthCheckable, ComponentHealth } from "./health.js"; /** * A local-only cluster implementation for single-node deployments. * Provides a minimal Cluster interface that always returns self as the only member. * No gossip protocol or distributed features - suitable for development and testing. */ export declare class LocalCluster extends EventEmitter implements Cluster, HealthCheckable { readonly nodeId: string; /** * Creates a new LocalCluster instance. * @param nodeId - The unique identifier for this node */ constructor(nodeId: string); /** * Returns the list of all known member node IDs (only self). */ getMembers(): string[]; /** * Returns detailed information about live peers (only self as healthy). */ getLivePeers(): ClusterPeer[]; getMembersByRole(_role: string): string[]; /** * Returns health status for the single-node cluster. */ getHealth(): ComponentHealth; } //# sourceMappingURL=local_cluster.d.ts.map