import HTTPClient from "./HTTPClient"; import IClientWorkflow from "../../../interfaces/Client/IClientWorkflow"; import { WorkflowGetResponseType } from "../../../types/workflow/WorkflowGetResponse.type"; import { WorkflowStartOptions } from "../../../types/workflow/WorkflowStartOptions.type"; import { WorkflowRaiseOptions } from "../../../types/workflow/WorkflowRaiseOptions.type"; export default class HTTPClientWorkflow implements IClientWorkflow { private readonly client; private readonly logger; constructor(client: HTTPClient); getWorkflowState(instanceID: string): Promise; scheduleNewWorkflow(workflowName: string, input?: any, instanceId?: string | undefined, options?: WorkflowStartOptions): Promise; raiseEvent(instanceId: string, eventName: string, eventData?: any, options?: WorkflowRaiseOptions): Promise; terminate(instanceId: string): Promise; pause(instanceId: string): Promise; resume(instanceId: string): Promise; purge(instanceId: string): Promise; /** @deprecated Use {@link getWorkflowState} instead. Will be removed with the release of Dapr 1.20. */ get(instanceID: string): Promise; /** @deprecated Use {@link scheduleNewWorkflow} instead. Will be removed with the release of Dapr 1.20. */ start(workflowName: string, input?: any, instanceId?: string | undefined, options?: WorkflowStartOptions): Promise; /** @deprecated Use {@link raiseEvent} instead. Will be removed with the release of Dapr 1.20. */ raise(instanceId: string, eventName: string, eventData?: any, options?: WorkflowRaiseOptions): Promise; _invokeMethod(instanceId: string, method: string): Promise; }