import { AgentsConfig } from '@n8n/config'; import type { AuthenticatedRequest } from '@n8n/db'; import type { Response } from 'express'; import { AiService } from '../../services/ai.service'; import { AgentKnowledgeService } from './agent-knowledge.service'; import { AgentRuntimeCacheService } from './agent-runtime-cache.service'; export declare class AgentKnowledgeController { private readonly agentKnowledgeService; private readonly agentsConfig; private readonly runtimeCacheService; private readonly aiService; constructor(agentKnowledgeService: AgentKnowledgeService, agentsConfig: AgentsConfig, runtimeCacheService: AgentRuntimeCacheService, aiService: AiService); private assertKnowledgeBaseEnabled; listFiles(_req: AuthenticatedRequest<{ projectId: string; }>, _res: Response, projectId: string, agentId: string): Promise; uploadFiles(req: AuthenticatedRequest<{ projectId: string; }> & { files?: Express.Multer.File[]; fileUploadError?: Error; }, _res: Response, projectId: string, agentId: string): Promise; deleteFile(_req: AuthenticatedRequest<{ projectId: string; }>, _res: Response, projectId: string, agentId: string, fileId: string): Promise<{ success: boolean; }>; }