import type { IEnr } from "@waku/interfaces";
/**
 * Fetch nodes using passed [[getNode]] until it has been called [[maxGet]]
 * times, or it has returned empty or duplicate results more than [[maxErrors]]
 * times.
 */
export declare function fetchNodes(getNode: () => Promise<IEnr | null>, maxGet?: number, maxErrors?: number): AsyncGenerator<IEnr>;
