import { TokenInfo, vmTypes } from "./types"; import { EntropyToMnemonic } from "./walletBip32"; export declare abstract class VM { protected seed: string; type: vmTypes; private disposed; constructor(seed: string, vm: vmTypes); static mnemonicToSeed: (mnemonic: string) => string; dispose(): void; isDisposed(): boolean; protected checkNotDisposed(): void; static generateSalt(): string; static getMnemonicFromEntropy: typeof EntropyToMnemonic; static deriveKey(password: string, salt: string, iterations?: number, keySize?: number): string; static encryptSeedPhrase(seedPhrase: string, password: string, iterations?: number): { encrypted: string; salt: string; iterations: number; }; static encryptSeedPhraseLegacy(seedPhrase: string, password: string): { encrypted: string; salt: string; }; static decryptSeedPhrase(encryptedSeedPhrase: string, password: string, salt: string, iterations?: number): string | null; static decryptSeedPhraseLegacy(encryptedSeedPhrase: string, password: string, salt: string): string | null; generateSalt: typeof VM.generateSalt; deriveKey: typeof VM.deriveKey; encryptSeedPhrase: typeof VM.encryptSeedPhrase; decryptSeedPhrase: typeof VM.decryptSeedPhrase; abstract derivationPath: string; abstract generatePrivateKey(index: number, mnemonic?: string, derivationPath?: string): { privateKey: PrivateKeyType; index: number; }; abstract getTokenInfo(tokenAddress: AddressType, connection: ConnectionType): Promise; }