export interface MaintainerOptions { /** * Run cleanup each X ms * * @default 30 * 1000 * */ interval: number; /** * Maintainer checks nodes in small batches over 50ms timeouts * * @default 2500 * */ batchSize: number; /** * @default true * */ enabled: boolean; } declare class Maintainer { private readonly nodes; private readonly unregisterNode; private interval; private readonly options; constructor(nodes: Map, unregisterNode: (node: Node) => void, options?: Partial); start: () => void; stop: () => void; } export default Maintainer;