import crypto, { KeyLike } from "crypto"; import type { TapoDeviceKey } from "./types"; export declare const generateKeyPair: () => Promise>; export declare const encrypt: (data: any, deviceKey: TapoDeviceKey) => string; export declare const decrypt: (data: string, deviceKey: TapoDeviceKey) => any; export declare const readDeviceKey: (pemKey: string, privateKey: KeyLike) => Buffer; export declare const base64Encode: (data: string) => string; export declare const base64Decode: (data: string) => string; export declare const shaDigest: (data: string) => string;