export declare class IncarnationFence { #private; /** The current (highest admitted) incarnation for `stream`, or `undefined`. */ current(stream: string): number | undefined; /** * Decide whether a producer at `incarnation` may write to `stream`. * * Returns `true` and advances the high-water mark when `incarnation` is `>=` * the current mark (a first producer, the same producer, or a takeover by a * newer one). Returns `false` — fenced — when `incarnation` is strictly lower * than a mark already established by a newer incarnation, leaving the mark * untouched. */ admit(stream: string, incarnation: number): boolean; /** Forget a stream's incarnation mark (e.g. when the stream is fully torn down). */ forget(stream: string): void; }