2019-05-15 01:48:48 +03:00
|
|
|
import { Bytes } from "@ethersproject/bytes";
|
|
|
|
import { ExternallyOwnedAccount } from "@ethersproject/abstract-signer";
|
|
|
|
import { decrypt as decryptCrowdsale } from "./crowdsale";
|
|
|
|
import { getJsonWalletAddress, isCrowdsaleWallet, isKeystoreWallet } from "./inspect";
|
2020-02-27 22:58:05 +03:00
|
|
|
import { decrypt as decryptKeystore, decryptSync as decryptKeystoreSync, encrypt as encryptKeystore, EncryptOptions, ProgressCallback } from "./keystore";
|
2019-05-15 01:48:48 +03:00
|
|
|
declare function decryptJsonWallet(json: string, password: Bytes | string, progressCallback?: ProgressCallback): Promise<ExternallyOwnedAccount>;
|
2020-02-27 22:58:05 +03:00
|
|
|
declare function decryptJsonWalletSync(json: string, password: Bytes | string): ExternallyOwnedAccount;
|
|
|
|
export { decryptCrowdsale, decryptKeystore, decryptKeystoreSync, encryptKeystore, isCrowdsaleWallet, isKeystoreWallet, getJsonWalletAddress, decryptJsonWallet, decryptJsonWalletSync, ProgressCallback, EncryptOptions, };
|
2021-01-19 13:22:54 +03:00
|
|
|
//# sourceMappingURL=index.d.ts.map
|