UNPKG

n8n

Version:

n8n Workflow Automation Tool

10 lines (9 loc) 778 B
import type { AgentKnowledgeCommandService } from '../../agent-knowledge-command.service'; import type { InternalKnowledgeCommandRequest, InternalKnowledgeCommandResult, ParsedSearchKnowledgeInput, SearchKnowledgeOutput } from './schemas'; import { type WorkspaceFiles } from './file-references'; type SearchInput = Extract<ParsedSearchKnowledgeInput, { operation: 'search'; }>; export declare function runInternalCommand(commandService: AgentKnowledgeCommandService, workspaceRoot: string, request: InternalKnowledgeCommandRequest): Promise<InternalKnowledgeCommandResult>; export declare function runSearchOperation(input: SearchInput, workspaceRoot: string, files: WorkspaceFiles, commandService: AgentKnowledgeCommandService): Promise<SearchKnowledgeOutput>; export {};