import { Signature } from "../keyring/commands";
declare type Web3 = any;
export declare type NetworkConnectionData = {
    type: NetworkType;
    providerUrl: string;
    validNetworkName: string;
};
export declare enum NetworkType {
    eth_kovan = 42,
    eth_main = 1,
    matic_main = 137,
    matic_mumbai = 80001,
    bsc_main = 56,
    bsc_testnet = 97
}
declare function init(networkData: NetworkConnectionData[]): void;
declare function reset(): void;
declare function getWeb3(type?: NetworkType): Promise<Web3>;
declare function getReadOnlyWeb3(type: NetworkType): Promise<Web3>;
declare function isConnected(type: NetworkType): Promise<boolean>;
declare function getAccounts(web3: Web3): Promise<any[]>;
declare function getDefaultAccount(): Promise<string>;
declare function signAddPublicKey(publicKey: string): Promise<Signature>;
declare function sign(data: string, from: string): Promise<Signature>;
export declare const web3Service: {
    init: typeof init;
    reset: typeof reset;
    getWeb3: typeof getWeb3;
    getReadOnlyWeb3: typeof getReadOnlyWeb3;
    isConnected: typeof isConnected;
    getAccounts: typeof getAccounts;
    getDefaultAccount: typeof getDefaultAccount;
    signAddPublicKey: typeof signAddPublicKey;
    sign: typeof sign;
};
export interface Web3Api {
    web3: typeof web3Service;
}
export {};
//# sourceMappingURL=web3Wrapper.d.ts.map