import { CreateTxOptions } from '@terra-money/feather.js'; import { NetworkInfo, TxResult } from '@terra-money/wallet-types'; export interface WalletPlugin { name: string; type: string; icon: string; identifier: string; createSession: (networks: NetworkInfo[]) => Promise; } export interface WalletPluginSession { network: NetworkInfo | null; addresses: Record | null; connect: () => Promise; disconnect: () => Promise; getMetadata?: () => { [key: string]: any; }; post: (txn: CreateTxOptions) => Promise; }