import { HttpResponse, RequestConfig } from '../../http/types.js'; import { BaseService } from '../base-service.js'; import { CreateRunResponse } from './models/create-run-response.js'; import { ExecuteWorkflowRequest } from './models/execute-workflow-request.js'; import { GetRunResponse } from './models/get-run-response.js'; import { WorkflowDefinition } from './models/workflow-definition.js'; import { WorkflowList } from './models/workflow-list.js'; import { WorkflowRunCollection } from './models/workflow-run-collection.js'; /** * Service class for WorkflowsService operations. * Provides methods to interact with WorkflowsService-related API endpoints. * All methods return promises and handle request/response serialization automatically. */ export declare class WorkflowsService extends BaseService { /** * Retrieves all workflow definitions for the project * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ fetchWorkflows(requestConfig?: RequestConfig): Promise>; /** * Creates or updates a workflow definition for the project * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveWorkflow(body: WorkflowDefinition, requestConfig?: RequestConfig): Promise>; /** * Retrieves a workflow definition by key * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ fetchWorkflow(requestConfig?: RequestConfig): Promise>; /** * Executes a workflow with the provided input parameters * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - Created */ createWorkflowRun(body: ExecuteWorkflowRequest, requestConfig?: RequestConfig): Promise>; /** * Retrieves the status and details of a workflow run * @param {string} runId - * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ fetchWorkflowRun(runId: string, requestConfig?: RequestConfig): Promise>; /** * Retrieves all runs for a specific workflow * @param {string} workflowKey - * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listWorkflowRuns(workflowKey: string, requestConfig?: RequestConfig): Promise>; } //# sourceMappingURL=workflows-service.d.ts.map