UNPKG

n8n

Version:

n8n Workflow Automation Tool

6 lines (5 loc) 669 B
import type { AgentJsonConfig, AgentJsonWorkflowToolConfig } from '@n8n/api-types'; import type { WorkflowEntity, WorkflowRepository } from '@n8n/db'; export declare function findWorkflowToolWorkflows(workflowRepository: WorkflowRepository, refs: AgentJsonWorkflowToolConfig[], projectId: string): Promise<Map<string, WorkflowEntity>>; export declare function findWorkflowToolWorkflow(workflowRepository: WorkflowRepository, ref: AgentJsonWorkflowToolConfig, projectId: string): Promise<WorkflowEntity | null>; export declare function normalizeWorkflowToolRefs(workflowRepository: WorkflowRepository, tools: AgentJsonConfig['tools'], projectId: string): Promise<void>;