import { TransactionReceipt } from 'web3-core'; import ContractBase from './ContractBase'; import { InstantiableConfig } from '../../Instantiable.abstract'; export default class DIDRegistry extends ContractBase { static getInstance(config: InstantiableConfig): Promise; registerAttribute(did: string, checksum: string, providers: string[], value: string, ownerAddress: string): Promise; getDIDOwner(did: string): Promise; getBlockNumberUpdated(did: string): Promise; isDIDProvider(did: string, provider: string): Promise; getDIDProviders(did: string): Promise; getAttributesByOwner(owner: string): Promise; getAttributesByDid(did: string): Promise<{ did: string; serviceEndpoint: string; checksum: string; }>; grantPermission(did: string, grantee: string, ownerAddress: string): Promise; revokePermission(did: string, grantee: string, ownerAddress: string): Promise; getPermission(did: string, grantee: string): Promise; transferDIDOwnership(did: string, newOwnerAddress: string, ownerAddress: string): Promise; }