import { multisig } from '@ironfish/rust-nodejs'; import { Wallet } from '../wallet'; interface MultisigIdentityEncryption { kind: 'MultisigIdentity'; identity: multisig.ParticipantIdentity; } export type AccountEncryptionMethod = MultisigIdentityEncryption; export declare const BASE64_JSON_MULTISIG_ENCRYPTED_ACCOUNT_PREFIX = "ifmsaccount"; /** * This returns the decrypted account if decryption was successful * or returns the original unencrypted input if encryption was not * successful */ export declare function decryptEncodedAccount(encrypted: string, wallet: Wallet): Promise; export declare function decryptEncodedAccountWithMultisigSecret(encrypted: string, secret: multisig.ParticipantSecret): string | null; /** * This will encrypt and encode the account with the given encryption scheme */ export declare function encryptEncodedAccount(encoded: string, encryption: AccountEncryptionMethod): string; export {}; //# sourceMappingURL=encryption.d.ts.map