import { Account } from '../Account'; import { Instantiable, InstantiableConfig } from '../../Instantiable.abstract'; import { TxParameters, ProvenanceMethod } from '../../keeper'; export declare class ProvenanceApi extends Instantiable { constructor(config: InstantiableConfig); getProvenanceEntry(provenanceId: string): Promise; used(provenanceId: string, did: string, agentId: string, activityId: string, signature: string, attributes: string, from: Account, txParams?: TxParameters): Promise; wasDerivedFrom(provenanceId: string, newEntityDid: string, usedEntityDid: string, agentId: string, activityId: string, attributes: string, from: Account, txParams?: TxParameters): Promise; wasAssociatedWith(provenanceId: string, did: string, agentId: string, activityId: string, attributes: string, from: Account, txParams?: TxParameters): Promise; actedOnBehalf(provenanceId: string, did: string, delegateAgentId: string, responsibleAgentId: string, activityId: string, signature: string, attributes: string, from: Account, txParams?: TxParameters): Promise; addDidProvenanceDelegate(did: string, delegated: string, from: Account, txParams?: TxParameters): Promise; removeDidProvenanceDelegate(did: string, delegated: string, from: Account, txParams?: TxParameters): Promise; isProvenanceDelegate(did: string, delegated: string): Promise; getProvenanceOwner(did: string): Promise; getDIDProvenanceEvents(did: string): Promise<{ method: number; provId: string; did: string; agentId: string; activityId: string; relatedDid: string; agentInvolvedId: string; attributes?: string; blockNumberUpdated: number; }[]>; getProvenanceMethodEvents(method: T, did: string): Promise[]>; }