declare enum CoreAccountType { PRIMARY = "primary", IMPORTED = "imported" } interface CoreBaseAccount { active: boolean; addressC: string; addressBTC: string; addressAVM: string; addressPVM: string; addressCoreEth: string; name: string; type: CoreAccountType; id: string; } interface CorePrimaryAccount extends CoreBaseAccount { index: number; type: CoreAccountType.PRIMARY; walletType: WalletType; walletId: string; walletName: string; } interface CoreImportedAccount extends CoreBaseAccount { type: CoreAccountType.IMPORTED; } declare enum WalletType { Mnemonic = "mnemonic", Ledger = "ledger", LedgerLive = "ledger-live", Keystone = "keystone", Seedless = "seedless" } type CoreAccount = CorePrimaryAccount | CoreImportedAccount; export { CoreAccount, CoreAccountType, CoreImportedAccount, CorePrimaryAccount, WalletType };