import { OmniWallet, SignedAuth } from "../OmniWallet"; import { WalletType } from "../omni/config"; import { ReviewFee } from "../omni/bridge"; import CosmosConnector from "./connector"; interface ProtocolWallet { disconnect?: () => Promise; sendTransaction?: (signDoc: any) => Promise; address: string; publicKeyHex: string; } export default class CosmosWallet extends OmniWallet { readonly connector: CosmosConnector; readonly wallet: ProtocolWallet; readonly type = WalletType.COSMOS; constructor(connector: CosmosConnector, wallet: ProtocolWallet); get address(): string; get publicKey(): string; get omniAddress(): string; disconnect(): Promise; sendTransaction(signDoc: any): Promise; transferFee(): Promise; transfer(): Promise; signIntentsWithAuth(): Promise; signIntents(): Promise>; fetchBalances(chain: number, whitelist: string[]): Promise>; fetchBalance(chain: number, token: string): Promise; } export {};