/** * Generic Device Info Retriever * Lightweight class for getting device information from any Tapo device * without needing to know the specific device type */ import { BaseTapoDevice, TapoCredentials, TapoApiRequest, TapoApiResponse, TapoDeviceInfo } from '../types'; export declare class GenericDeviceInfoRetriever extends BaseTapoDevice { private auth; private klapAuth; private useKlap; constructor(ip: string, credentials: TapoCredentials); /** * Connect to the device using either KLAP or Secure Passthrough */ connect(): Promise; /** * Get device information - works for all device types */ getDeviceInfo(): Promise; /** * Disconnect and cleanup session */ disconnect(): Promise; /** * Send request using the appropriate protocol */ protected sendRequest(request: TapoApiRequest): Promise>; /** * Check if device is authenticated */ isAuthenticated(): boolean; }