import { Types } from 'aptos'; import { AptosProviderInterface as IBloctoAptos } from '@blocto/sdk'; import { AccountKeys, BaseWalletAdapter, WalletName, WalletReadyState, SignMessagePayload, SignMessageResponse, NetworkInfo, WalletAdapterNetwork } from './BaseAdapter'; export declare const BloctoWalletName: WalletName<"Blocto">; export interface BloctoWalletAdapterConfig { provider?: IBloctoAptos; network?: Exclude; timeout?: number; bloctoAppId: string; } export declare const APTOS_NETWORK_CHAIN_ID_MAPPING: { mainnet: number; testnet: number; }; export declare class BloctoWalletAdapter extends BaseWalletAdapter { name: WalletName<"Blocto">; url: string; icon: string; protected _provider: IBloctoAptos | undefined; protected _network: Exclude; protected _chainId: string; protected _api: string; protected _timeout: number; protected _readyState: WalletReadyState; protected _connecting: boolean; protected _wallet: any | null; constructor({ network, timeout, bloctoAppId }: BloctoWalletAdapterConfig); get publicAccount(): AccountKeys; get network(): NetworkInfo; get connecting(): boolean; get connected(): boolean; get readyState(): WalletReadyState; connect(): Promise; disconnect(): Promise; signTransaction(transaction: Types.TransactionPayload): Promise; signAndSubmitTransaction(transaction: Types.TransactionPayload, options?: any): Promise<{ hash: Types.HexEncodedBytes; }>; signMessage(message: SignMessagePayload): Promise; onAccountChange(): Promise; onNetworkChange(): Promise; } //# sourceMappingURL=BloctoWallet.d.ts.map