import { CryptoDerivative, KeyPair, PublicKey } from '@airgap/module-kit'; import { SubstrateAccountId } from '../../data/account/address/SubstrateAddress'; import { TypedSubstrateAddress } from '../../data/account/address/SubstrateAddressFactory'; import { SubstrateAccountBalance } from '../../data/account/SubstrateAccountBalance'; import { SubstrateProtocolConfiguration } from '../../types/configuration'; export interface SubstrateAccountController { createKeyPairFromDerivative(derivative: CryptoDerivative): Promise; createAddressFromPublicKey(publicKey: PublicKey): TypedSubstrateAddress; getBalance(accountId: SubstrateAccountId>): Promise; }