import { ChainConfig } from '../../config/types';
import { Wallet } from '@wormhole-labs/wallet-aggregator-core';
import { Dispatch } from 'redux';
import { Network, Chain, UnsignedTransaction, Platform } from '@wormhole-foundation/sdk';
export declare enum TransferWallet {
    SENDING = "sending",
    RECEIVING = "receiving"
}
export declare const walletAcceptedChains: (platform: Platform | undefined) => Chain[];
export declare const setWalletConnection: (type: TransferWallet, wallet: Wallet) => void;
export declare const connectWallet: (type: TransferWallet, chain: Chain, walletInfo: WalletData, dispatch: Dispatch<any>) => Promise<boolean>;
export declare const connectLastUsedWallet: (type: TransferWallet, chain: Chain, dispatch: Dispatch<any>) => Promise<void>;
export declare const useConnectToLastUsedWallet: () => void;
export declare const getWalletConnection: (type: TransferWallet) => Wallet<import('@wormhole-labs/wallet-aggregator-core').ChainId, any, any, any, any, any, any, any, any, any, any, any, any> | undefined;
export declare const swapWalletConnections: () => void;
export declare const disconnect: (type: TransferWallet) => Promise<void>;
export declare const signAndSendTransaction: (chain: Chain, request: UnsignedTransaction<Network, Chain>, walletType: TransferWallet, options?: any) => Promise<string>;
export type WalletData = {
    name: string;
    type: Platform;
    icon: string;
    isReady: boolean;
    wallet: Wallet;
};
export declare const getWalletOptions: (chain: ChainConfig | undefined) => Promise<WalletData[]>;
//# sourceMappingURL=index.d.ts.map