import API from './@types/API'; export default class LegacyAPI extends API { private handshakeData; private tpLinkCipher?; private privateKey?; private publicKey?; private classSetup; login(): Promise; setup(): Promise; sendRequest(method: string, params: { [key: string]: any; }, setCookie?: boolean): Promise>; sendSecureRequest(method: string, params: { [key: string]: any; }, useToken?: boolean, forceHandshake?: boolean): any; needsNewHandshake(): boolean; private handshake; private decodeHandshakeKey; } //# sourceMappingURL=LegacyAPI.d.ts.map