import type { Logging } from "homebridge"; import type { StreamTriggersConfig } from "./config.js"; /** * Thin wrapper around the atvremote binary from homebridge-appletv-enhanced's venv, * reusing that plugin's Companion pairing credentials. */ export declare class AppleTv { private readonly log; private readonly config; private discoveredId; constructor(log: Logging, config: Pick); /** Run one atvremote command (e.g. "turn_on"). Logs failures; never throws. */ run(command: string, prefix: string): Promise; /** * Explicit appleTvId, or auto-discovery: the single subdirectory of credentialsDir * containing a credentials.txt. Logs an error (never crashes) on zero or multiple. */ resolveId(prefix: string): Promise; /** Companion credentials = first line of //credentials.txt. */ private readCredentials; } //# sourceMappingURL=atv.d.ts.map