/** * settings.ts, turn a `cluster.*` config category into usable settings. * * Values are clamped rather than rejected. A daemon whose inbound messaging * refuses to start because someone typed `heartbeatSeconds: 0` is a worse * outcome than one that runs with a sane floor and says what it did. */ import type { ClusterSettings } from './types.js'; /** * Administratively-scoped multicast group (239.0.0.0/8, RFC 2365), never * routed off the local network by a conforming router. The last two octets * are the ASCII codes for "GV", which keeps the address recognisable in a * packet capture without encoding anything about the install. */ export declare const DEFAULT_CLUSTER_MULTICAST_GROUP = "239.255.71.86"; /** * Chosen inside the IANA Dynamic/Private range (49152-65535), which IANA never * assigns, and ABOVE the Linux default ephemeral range (32768-60999) so a * transient outbound socket cannot take the port before the daemon binds it. */ export declare const DEFAULT_CLUSTER_PORT = 61860; export declare const DEFAULT_CLUSTER_SETTINGS: ClusterSettings; /** Normalize a raw `cluster` config category into resolved settings. */ export declare function resolveClusterSettings(raw: unknown): ClusterSettings; //# sourceMappingURL=settings.d.ts.map