/** * Copyright (c) 2026-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { AbstractServerClient, type PlainObject } from '@finos/legend-shared'; import type { V1_DataRequestsWithWorkflowResponse, V1_PermitProcessInstanceDetail, V1_PermitTaskActionResponse, V1_PermitTaskAction } from '@finos/legend-graph'; export interface PermitWorkflowServerClientConfig { authBaseUrl: string; workflowBaseUrl: string; } export declare class PermitWorkflowServerClient extends AbstractServerClient { private readonly authBaseUrl; private readonly workflowBaseUrl; constructor(config: PermitWorkflowServerClientConfig); private readonly _authToken; private readonly _dataRequests; getDataRequestWithWorkflow: (dataRequestId: string, token: string | undefined) => Promise>; getDataRequestsCreatedByUser: (userId: string, token: string | undefined) => Promise>; cancelWorkflow: (dataRequestId: string, token: string | undefined, justification?: string | undefined) => Promise; private readonly _workflow; getProcessInstanceDetail: (instanceId: string, token: string | undefined) => Promise>; performTaskAction: (instanceId: string, taskId: string, action: V1_PermitTaskAction, justification: string, token: string | undefined) => Promise>; } //# sourceMappingURL=PermitWorkflowServerClient.d.ts.map