import type { IStatusPollingAdapter, StatusChange } from './IStatusPollingAdapter.js'; import type { TrackedPlan } from '../../types/index.js'; import type { TrackingService } from '../tracking/TrackingService.js'; /** * Polls the Hula Server API for status changes. * * Uses a snapshot pattern to avoid cache bugs. * The `currentPlans` parameter (passed in from the caller) represents the * FRESH data fetched this cycle. On the first poll, we just store the snapshot * and return no changes. On subsequent polls, we compare the new fresh data * against the stored previous snapshot. */ export declare class HulaServerPollingAdapter implements IStatusPollingAdapter { private trackingService; readonly name = "hula-server"; private previousSnapshot; private hasSnapshot; constructor(trackingService: TrackingService); validate(): void; pollForChanges(currentPlans: TrackedPlan[]): Promise; private storeSnapshot; } //# sourceMappingURL=HulaServerPollingAdapter.d.ts.map