import { Transaction, RootChain, WalletProvider } from '../types'; import { ICreateDatabase, IRenewalDataset, EditDatasetRequest, EditTableRequest, PledgeRequest, ReleasePledgeRequest } from '../types/index.d'; export declare function initWallet(wallets: WalletProvider[]): Promise; export declare function checkWalletInstall(loginType: string): boolean; export declare function getSupportWallets(): string[]; export declare function connect(walletType: string, mnemonic?: string): Promise; export declare function getLoginType(): string | null; export declare function isConnected(): boolean; export declare function checkWallet(): boolean; export declare function getAddress(): Promise; export declare function disconnect(): Promise; export declare function sendTransaction(tx: Transaction): Promise; export declare function signMessage(message: string, timeStamp?: number): Promise; export declare function switchNetwork(chainId: string): Promise; export declare function getNetwork(): Promise; export declare function getChainId(): Promise; export declare function getTransactionCount(address: string): Promise; export declare function signTransaction(tx: Transaction): Promise; export declare function estimateGas(tx: Transaction): Promise; export declare function getGasPrice(): Promise; export declare function insertData(msg: string): Promise; export declare function createDatabase(params: ICreateDatabase): Promise; export declare function createDatabaseDemo(params: ICreateDatabase): Promise; export declare function editDatabase(params: EditDatasetRequest): Promise; export declare function renewalDataset(params: IRenewalDataset): Promise; export declare function createTable(params: EditTableRequest): Promise; export declare function editTable(params: EditTableRequest): Promise; export declare function pledge(params: PledgeRequest): Promise; export declare function releasePledge(params: ReleasePledgeRequest): Promise; export declare function grantRole(toUID: string, role: RootChain, database: string, table?: string): Promise; export declare function on(event: string, callback: (result: any) => void): Promise; export declare function removeListener(event: string, callback: (result: any) => void): Promise; export declare function generateMnemonic(): Promise;