import { ProviderAdapterInterface, Entity } from "./provider-adapter"; import { Packet } from '../service/data-packet-service'; export declare class Web3Adapter implements ProviderAdapterInterface { readonly provider: any; private web3; private minespider; private minespiderContractAddress; private minespiderPacketManager; private silqToken; private initiated; constructor(provider: any); wasInitiated(): boolean; init(minespiderContractAddress: string, dataPacketStorageAddress: string, silqTokenAddress: string): void; registerEntity(entity: Entity): Promise; modifyMassBalanceCertification(producerId: string, materialId: string, cmw: number): Promise; certifyDataPacket(packetId: string, cmw: number, materialId: string, publicFilesAddresses: string[], privateFilesAddresses: string[]): Promise; getPacket(packetId: string): Promise; sellPacket(packetId: string, newPacketId: string, newOwnerAddress: string, cmw: number, publicFilesAddresses: any, privateFilesAddresses: any): Promise; splitAndSellPacket(packetId: string, newOwnerAddress: string, part1Id: string, part2Id: string, amountToSell: number, publicFilesAddresses: any, privateFilesAddresses: any): Promise; updateSilqTokenAddress(newAddress: string): Promise; updateMinespiderAddress(newAddress: string): Promise; updateDataPacketStorageAddress(newAddress: string): Promise; getCurrentAccountAddress(): Promise; getSILQBalance(address: string): Promise; getProducedMassBalance(producerId: string, materialId: string): Promise; getOwnedMassBalance(producerId: string, materialId: string): Promise; getCertifiedMassBalance(producerId: string, materialId: string): Promise; private getTransactionHash; private awaitTransactionConfirmation; }