import { Logging } from 'homebridge'; /** * Wake on Lan */ export declare class WoL { private log; private macAddress; private tvIp; private retries; private interval; private broadcast; private readonly broadcastAddress; /** * @param log Homebridge logger * @param macAddress MAC address of the device to wake up * @param tvIp IP address of the device to wake up * @param retries Number of retries to send the magic packet * @param interval Interval between retries in milliseconds * @param broadcast (Optional) Broadcast address to use. If not provided, the broadcast address will be calculated based on the NIC in the same subnet as the TV IP address. */ constructor(log: Logging, macAddress: string, tvIp: string, retries: number, interval: number, broadcast: string | undefined); /** * Picks a network interface card (NIC) that is in the same subnet as the TV IP address. * @param tvIp */ private pickNicFor; private sendPackets; /** * Triggers sending the magic packet to wake up the TV. */ sendMagicPacket(): void; }