import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js"; import "../../types/index.js"; import { WorkflowExecutionInsert, WorkflowExecutionSelect } from "../../types/entities.js"; //#region src/data-access/runtime/workflowExecutions.d.ts declare const createWorkflowExecution: (db: AgentsRunDatabaseClient) => (params: WorkflowExecutionInsert) => Promise; declare const getWorkflowExecution: (db: AgentsRunDatabaseClient) => (params: { tenantId: string; projectId: string; id: string; }) => Promise; declare const getWorkflowExecutionByConversation: (db: AgentsRunDatabaseClient) => (params: { tenantId: string; projectId: string; conversationId: string; }) => Promise; declare const updateWorkflowExecutionStatus: (db: AgentsRunDatabaseClient) => (params: { tenantId: string; projectId: string; id: string; status: "running" | "suspended" | "completed" | "failed"; metadata?: Record; }) => Promise; //#endregion export { createWorkflowExecution, getWorkflowExecution, getWorkflowExecutionByConversation, updateWorkflowExecutionStatus };