1 | import { SentinelAddress } from "./types";
|
2 | export default class SentinelIterator implements Iterator<Partial<SentinelAddress>> {
|
3 | private cursor;
|
4 | private sentinels;
|
5 | constructor(sentinels: Array<Partial<SentinelAddress>>);
|
6 | next(): {
|
7 | done: boolean;
|
8 | value: Partial<SentinelAddress>;
|
9 | };
|
10 | reset(moveCurrentEndpointToFirst: boolean): void;
|
11 | add(sentinel: SentinelAddress): boolean;
|
12 | toString(): string;
|
13 | }
|