import type { PhilipsTVClient } from '../api/PhilipsTVClient.js'; import type { TVDeviceConfig, AmbilightCached } from '../api/types.js'; export interface PollCallbacks { onPowerChange: (isOn: boolean) => void; onAmbilightUpdate: (style: AmbilightCached | null, powerFallback: boolean) => void; onVolumeUpdate: (muted: boolean) => void; onInputUpdate: (currentApp: string | null) => void; onAppsReady: () => void; } export declare class StatePollManager { private readonly tvClient; private readonly config; private readonly callbacks; private readonly log; private isPoweredOn; private initialPowerReported; private lastAmbilight; private lastMuted; private lastVolume; private lastApp; private startupTimer?; private pollingTimer?; private longPollRetryTimer?; private notifyClient; private longPollConfirmed; constructor(tvClient: PhilipsTVClient, config: TVDeviceConfig, callbacks: PollCallbacks, log: (level: 'debug' | 'info' | 'warn' | 'error', message: string) => void); start(): void; cleanup(): void; private startLongPoll; private stopLongPoll; private scheduleLongPollRetry; private cancelLongPollRetry; private startIntervalPolling; private stopIntervalPolling; private pollState; }