import { RedisService } from 'nestjs-redis'; import { ZBClient } from 'zeebe-node'; export interface IProcessVariables { [key: string]: any; } export interface CreateProcessInstanceResponse { readonly bpmnProcessId: string; readonly version: number; readonly processInstanceKey: string; } export interface CreateProcessInstanceWithResultResponse { processKey: string; bpmnProcessId: string; version: number; processInstanceKey: string; variables: Result; } export declare class ZeebeProcessClient { private readonly zbClient; private redisService; private subscriber; logger: any; constructor(zbc: ZBClient, redisService: RedisService); init(): Promise; createProcessInstance(_config: { bpmnProcessId: string; variables: Variables; version?: number; }): Promise; createProcessInstanceWithResult(_config: { bpmnProcessId: string; variables: Variables; version?: number; timeout: number; timeoutValue: any; }): Promise>; }