import { FfmpegLivestreamProcess } from "homebridge-plugin-utils"; import type { ProtectCamera } from "./devices/index.js"; import type { ProtectLivestream } from "unifi-protect"; import type { RtspEntry } from "./devices/protect-camera.js"; export declare class LivestreamManager { private channels; private eventHandlers; private lastSegmentTime; private lenses; private livestreams; private protectCamera; private restartCount; private restartDelay; private restarting; private segmentLengths; private subscriberCount; private segmentTimer; private startTime; constructor(protectCamera: ProtectCamera); private getIndex; acquire(rtspEntry: RtspEntry): FfmpegLivestreamProcess | ProtectLivestream; isRestarting(rtspEntry: RtspEntry): boolean; restart(rtspEntry: RtspEntry): void; private restartLivestream; shutdown(): void; start(rtspEntry: RtspEntry, segmentLength?: number): Promise; stop(rtspEntry: RtspEntry): void; }