import { Packet } from "../service/data-packet-service"; export declare enum EntityType { Certifier = 0, Producer = 1, Smelter = 2, Transporter = 3, StakeHolder = 4 } export interface Entity { id: string; entityType: EntityType; name: string; latitude: string; longitude: string; location: string; } export interface ProviderAdapterInterface { wasInitiated(): boolean; init(minespiderContractAddress: string, dataPacketStorageAddress: string, silqTokenAddress: string): any; getCurrentAccountAddress(): Promise; getSILQBalance(address: string): Promise; getProducedMassBalance(producerId: string, materialId: string): Promise; getCertifiedMassBalance(producerId: string, materialId: string): Promise; getOwnedMassBalance(producerId: string, materialId: string): Promise; 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): any; updateSilqTokenAddress(newAddress: string): Promise; updateMinespiderAddress(newAddress: string): Promise; updateDataPacketStorageAddress(newAddress: string): Promise; }