/*! PrivMX Web Endpoint. Copyright © 2024 Simplito sp. z o.o. This file is part of the PrivMX Platform (https://privmx.dev). This software is Licensed under the PrivMX Free License. See the License for the specific language governing permissions and limitations under the License. */ import { BIP39 } from "../Types"; import { BaseNative } from "./BaseNative"; import { ExtKeyNativePtr } from "./ExtKeyNative"; export interface BIP39Native { mnemonic: string; extKey: ExtKeyNativePtr; entropy: Uint8Array; } export declare class CryptoApiNative extends BaseNative { newApi(): Promise; deleteApi(ptr: number): Promise; create(ptr: number, args: []): Promise; signData(ptr: number, args: [Uint8Array, string]): Promise; verifySignature(ptr: number, args: [Uint8Array, Uint8Array, string]): Promise; generatePrivateKey(ptr: number, args: [string | undefined]): Promise; derivePrivateKey(ptr: number, args: [string, string]): Promise; derivePrivateKey2(ptr: number, args: [string, string]): Promise; derivePublicKey(ptr: number, args: [string]): Promise; generateKeySymmetric(ptr: number, args: []): Promise; encryptDataSymmetric(ptr: number, args: [Uint8Array, Uint8Array]): Promise; decryptDataSymmetric(ptr: number, args: [Uint8Array, Uint8Array]): Promise; convertPEMKeytoWIFKey(ptr: number, args: [string]): Promise; generateBip39(ptr: number, args: [number, string]): Promise; fromMnemonic(ptr: number, args: [string, string]): Promise; fromEntropy(ptr: number, args: [Uint8Array, string]): Promise; entropyToMnemonic(ptr: number, args: [Uint8Array]): Promise; mnemonicToEntropy(ptr: number, args: [string]): Promise; mnemonicToSeed(ptr: number, args: [string, string]): Promise; private convertBIP; }