/** * The control-surface broker floor (SPEC §13.12, D10). * * The endpoint surface REQUIRES NATS server >= 2.12: message schedules back durable timers, * and per-subject create-CAS backs canonical acceptance. There is no sweeper fallback and no * degraded mode; below the floor (or when a required capability is absent, e.g. the * offline-assets downgrade) startup fails loud. Only 2.12 schedule semantics may be assumed * (same-subject replacement) — never the 2.14 stop-plus-publish path. */ /** The minimum broker for the endpoint control surface. Runtime-frozen (the afa715b class): a * post-import `minor = 0` would silently bypass the mandatory 2.12 startup gate. */ export declare const BROKER_FLOOR: Readonly<{ readonly major: 2; readonly minor: 12; }>; /** Structural slice of a NATS connection: the pre-auth INFO carries the server version. */ export interface BrokerInfoSource { info?: { version?: string; }; } /** Parse a nats-server version string ("2.12.3", "2.12.0-beta.1") into comparable parts. */ export declare function parseServerVersion(v: string): { major: number; minor: number; patch: number; } | null; /** True iff the version meets the control-surface floor. */ export declare function meetsBrokerFloor(version: string): boolean; /** Startup gate: throw (loud, fail-closed) unless the connected broker meets the floor. * Call before creating or serving any control-surface resource. A missing/unparseable * version is a refusal, not a pass — no fallbacks. */ export declare function requireBrokerFloor(nc: BrokerInfoSource): void; //# sourceMappingURL=broker-floor.d.ts.map