import { IHttpClient } from '@essential-projects/http_contracts'; import { IIdentity } from '@essential-projects/iam_contracts'; import { APIs, DataModels } from '@process-engine/consumer_api_contracts'; export declare class ExternalTaskApiExternalAccessor implements APIs.IExternalTaskConsumerApi { private baseUrl; private httpClient; constructor(httpClient: IHttpClient); fetchAndLockExternalTasks(identity: IIdentity, workerId: string, topicName: string, maxTasks: number, longPollingTimeout: number, lockDuration: number): Promise>>; extendLock(identity: IIdentity, workerId: string, externalTaskId: string, additionalDuration: number): Promise; handleBpmnError(identity: IIdentity, workerId: string, externalTaskId: string, errorCode: string, errorMessage?: string): Promise; handleServiceError(identity: IIdentity, workerId: string, externalTaskId: string, errorMessage: string, errorDetails: string, errorCode?: string): Promise; finishExternalTask(identity: IIdentity, workerId: string, externalTaskId: string, results: TResultType): Promise; private createRequestAuthHeaders; private applyBaseUrl; }