import type { AuthenticatedRequest } from '@n8n/db'; import type { Response } from 'express'; import { KnowledgeAvailabilityService } from '../../modules/knowledge/knowledge-availability.service'; import { Telemetry } from '../../telemetry'; import { AgentKnowledgeService } from './agent-knowledge.service'; import { AgentRuntimeCacheService } from './agent-runtime-cache.service'; export declare class AgentKnowledgeController { private readonly agentKnowledgeService; private readonly knowledgeAvailabilityService; private readonly runtimeCacheService; private readonly telemetry; constructor(agentKnowledgeService: AgentKnowledgeService, knowledgeAvailabilityService: KnowledgeAvailabilityService, runtimeCacheService: AgentRuntimeCacheService, telemetry: Telemetry); 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; }>; private trackUploadedFiles; private trackUploadFailed; }