/** * Discover one Roku device on the network. Resolves to the first Roku device * that responds to the ssdp request. * @param timeout The time to wait in ms before giving up. * @return A promise resolving to a Roku device's address. */ export declare function discover(timeout?: number): Promise; /** * Discover all Roku devices on the network. This method always waits the full * timeout, resolving to a list of all Roku device addresses that responded * within `timeout` ms. * @param timeout The time to wait in ms before giving up. * @return A promise resolving to a list of Roku device addresses. */ export declare function discoverAll(timeout?: number): Promise; /** * Discover Roku devices on the network as they are found. This method invokes * the callback for each device found, allowing you to process devices as they * are discovered rather than waiting for the full timeout. * @param callback Called for each device found, receives the device address. * @param timeout The time to wait in ms before giving up. * @return A promise that resolves when the timeout completes. */ export declare function discoverEach(callback: (address: URL) => void, timeout?: number): Promise;