UNPKG

@n8n-plus/n8n-plus

Version:

n8n Workflow Automation Tool (plus edition)

23 lines (22 loc) 1.02 kB
import { type INode, type IPinData, type IWorkflowBase } from 'n8n-workflow'; export declare function identifyNodesForPinData(workflow: IWorkflowBase, exclusionSet?: Set<string>): INode[]; export interface VendorLlmRouting { subNodeToRoot: Map<string, string>; rootToSubNode: Map<string, INode>; } export declare function buildVendorLlmRouting(workflow: IWorkflowBase, unpinNodes: string[]): VendorLlmRouting; export declare function assertUnpinCompatibility(workflow: IWorkflowBase, unpinNodes: string[]): void; export declare function identifyNodesForHints(workflow: IWorkflowBase): INode[]; export interface MockHints { globalContext: string; nodeHints: Record<string, string>; triggerContent: Record<string, unknown>; warnings: string[]; bypassPinData: IPinData; } export interface GenerateMockHintsOptions { workflow: IWorkflowBase; nodeNames: string[]; scenarioHints?: string; } export declare function generateMockHints(options: GenerateMockHintsOptions): Promise<MockHints>;