import { ActivityContext } from "@dapr/durabletask-js"; /** * Used by activity to perform actions such as getting activity's name and * its input. */ export default class WorkflowActivityContext { private readonly _innerContext; constructor(innerContext: ActivityContext); /** * Gets the unique identifier of the workflow instance associated with the current context. * * @returns {string} The unique identifier (orchestrationId) of the workflow instance. */ getWorkflowInstanceId(): string; /** * Gets the task ID (activityId) associated with the current workflow activity context. * * @returns {number} The task ID (activityId) of the current workflow activity. */ getWorkflowActivityId(): number; }