import type { Client } from "../client"; import type { NightfallKeys } from "./types"; /** * Create a bip39 mnemonic if none was given, else validate according to bip39 * * @function validateOrCreateNfMnemonic * @param {string} mnemonic * @throws {NightfallSdkError} Given mnemonic is not bip39 * @returns {string} bip39 mnemonic */ export declare function validateOrCreateNfMnemonic(mnemonic: undefined | string): string; /** * Derive a set of zero-knowledge proof keys from given/new mnemonic, * then subscribe to incoming viewing keys * * @function createZkpKeysAndSubscribeToIncomingKeys * @param {string} mnemonic * @param {Client} client an instance of Client to interact with the API * @throws {NightfallSdkError} Something went wrong * @returns {NightfallKeys} NightfallKeys if the mnemonic is new or given one is valid */ export declare function createZkpKeysAndSubscribeToIncomingKeys(mnemonic: undefined | string, client: Client): Promise;