/****************************************************************************** * * (C) 2022 AhnLab Blockchain Company, Inc. All rights reserved. * Any part of this source code can not be copied with any method without * prior written permission from the author or authorized person. * ******************************************************************************/ import { CheckPasswordDto, GenereateKeyDto, GenereateKeyResult, RecoverDto, SendCipherDto } from '../../main/accounts/interface'; import { MpcSignInput, MpcUnlockDto } from '../../main/transactions/interface'; export declare const MPC_COMMANDS: { sign: string; generateKeyShare: string; selfSign: string; showMnemonic: string; recoverSID: string; recoverShare: string; emRecover: string; sendRecoveryEmail: string; unlock: string; changeActiveAccount: string; addAccount: string; sendCipher: string; checkPassword: string; terminate: string; }; export declare class MpcService { clearPV: () => Promise; generateKey: (dto: GenereateKeyDto) => Promise; sign: (dto: MpcSignInput) => any; unlock: (dto: MpcUnlockDto) => Promise; selfSign: (dto: any) => Promise; recoverSID: (dto: any) => Promise; recoverShare: (dto: RecoverDto) => Promise; emRecover: (dto: any) => Promise; sendCipher: (dto: SendCipherDto) => Promise; changeActiveAccount: (dto: any) => any; checkPassword: (dto: CheckPasswordDto) => Promise; terminate: () => Promise; execute: ({ resolve, reject, command, dto }: { resolve: any; reject: any; command: any; dto?: {}; }) => void; }