export declare function getEncryptedData(data: string, base64PublicKey: string, requestProtocol?: string): Promise;