import { TypedDataDomain, TypedDataField } from 'ethers'; export declare function getCurChainId(): Promise; export declare function changeChain(chainid: number, chain: any): Promise; export declare function addWalletEventCallback(eventName: string, callback: any): void; export declare function getMetaAccounts(): Promise; export declare function sendContractTx(trans: any, chain: any): Promise<{ chainid: any; domain: any; from: any; to: any; function: any; args: any; txType: string; trans: { gasLimit: any; gasPrice: any; txhash: any; nonce: any; }; } | { success: boolean; code: import("./erros").PolisSdkError; data: string; }>; declare function sendTrans(tx: { to: any; from: any; value: any; chainId: number; gas: number; gasPrice: number; data: string; nonce: number; }, chain: any): Promise; export declare function isConnectedMeta(): Promise; export declare function getWalletAddress(): string; export declare function setEnv(_env: string): void; export declare function addToken(token: any, tokenAddress: string, tokenDecimals: number, tokenImage: string, chainObj?: any): Promise; export declare function checkInstall(walletType?: string): boolean; export declare function signMessage(msg: string): Promise; export declare function signTypedData(domain: TypedDataDomain, types: Record>, value: Record): Promise; declare const _default: { getWalletAddress: typeof getWalletAddress; isConnectedMeta: typeof isConnectedMeta; getMetaAccounts: typeof getMetaAccounts; getCurChainId: typeof getCurChainId; sendContractTx: typeof sendContractTx; sendTrans: typeof sendTrans; changeChain: typeof changeChain; setEnv: typeof setEnv; addToken: typeof addToken; checkInstall: typeof checkInstall; signMessage: typeof signMessage; signTypedData: typeof signTypedData; addWalletEventCallback: typeof addWalletEventCallback; }; export default _default;