///
///
///
import crypto, { KeyObject } from 'crypto';
import type { TapoDeviceKey } from '../types/raw-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: KeyObject) => Buffer;
export declare const base64Encode: (data: string) => string;
export declare const base64Decode: (data: string) => string;
export declare const shaDigest: (data: string) => string;