import { Letter } from '@actor-system/mail/internal'; import { Path } from '../__bundle__/shared/dist/path.internal.js'; import { ClusterState } from '../types.internal.js'; declare const $joinResponse = "@@cluster.node-letter.join-response"; /** * Sent by a seed node to a joining node in response to a {@link JoinCluster}. * Includes the current {@link ClusterState} and a map of MessagePorts * for the joining node to communicate with existing nodes in the cluster. */ interface JoinResponse extends Letter { readonly clusterState: Readonly; readonly ports: ReadonlyMap; readonly source: Path.Hostname; } export { $joinResponse }; export type { JoinResponse };