import { type AgentCapabilitySummary, CreateAgentDto, ListAgentsQueryDto } from '@n8n/api-types'; import type { AuthenticatedRequest } from '@n8n/db'; import type { Response } from 'express'; import { CollaborationService } from '../../collaboration/collaboration.service'; import { AgentRunnableStateService } from './agent-runnable-state.service'; import { AgentDefaultModelResolverService } from './agent-default-model-resolver.service'; import { AgentsService } from './agents.service'; export declare class AgentsController { private readonly agentsService; private readonly agentRunnableStateService; private readonly agentDefaultModelResolverService; private readonly collaborationService; constructor(agentsService: AgentsService, agentRunnableStateService: AgentRunnableStateService, agentDefaultModelResolverService: AgentDefaultModelResolverService, collaborationService: CollaborationService); create(req: AuthenticatedRequest<{ projectId: string; }>, _res: Response, payload: CreateAgentDto): Promise<{ config: import("@n8n/api-types").AgentJsonConfig | null; configHash: string | null; adopted: boolean; id: string; generateId(): void; createdAt: Date; updatedAt: Date; setUpdateDate(): void; name: string; project: import("@n8n/db").Project | null; projectId: string | null; scope: import("./entities/agent.entity").AgentScope; schema: import("@n8n/api-types").StoredAgentConfig | null; integrations: import("@n8n/api-types").AgentIntegrationConfig[]; tools: Record; skills: Record; availableInMCP: boolean; setupCompletedAt: Date | null; versionId: string | null; activeVersionId: string | null; activeVersion?: import("@n8n/typeorm").Relation | null; revision: number; publicationRevision: number; isRunnable: boolean; hasPublishHistory: boolean; hasVersionHistory: boolean; skillHashes: Record; outdatedSkillIds: string[]; skillVersions: Record; }>; list(req: AuthenticatedRequest<{ projectId: string; }, unknown, unknown, { filter?: string; skip?: string; take?: string; sortBy?: string; }>, res: Response, query: ListAgentsQueryDto): Promise; get(req: AuthenticatedRequest<{ projectId: string; }>, _res: Response, agentId: string): Promise; skillHashes: Record; outdatedSkillIds: string[]; skillVersions: Record; }>; getSummary(req: AuthenticatedRequest<{ projectId: string; agentId: string; }>): Promise; delete(req: AuthenticatedRequest<{ projectId: string; }>, _res: Response, agentId: string): Promise<{ success: boolean; }>; getWriteLock(req: AuthenticatedRequest<{ projectId: string; agentId: string; }>, _res: Response, agentId: string): Promise<{ clientId: string; userId: string; } | null>; }