import type { WatchSubscription, WatchSubscriptionItem } from '../cluster/index.js'; import type { HostedWatch, InitializedSession } from './types.js'; type ReplaceSession = (signal: AbortSignal) => Promise; export declare class ReconnectingHostedWatch implements HostedWatch { #private; constructor(replace: ReplaceSession, session: InitializedSession, subscription: WatchSubscription, signal?: AbortSignal); [Symbol.asyncIterator](): this; next(): Promise>; return(): Promise>; throw(error?: unknown): Promise>; cancel(): Promise; } export {};