import { type AgentCapabilitySummary, CreateAgentDto, ListAgentsQueryDto } from '@n8n/api-types';
import type { AuthenticatedRequest } from '@n8n/db';
import type { Response } from 'express';
import { AgentRunnableStateService } from './agent-runnable-state.service';
import { AgentsService } from './agents.service';
export declare class AgentsController {
    private readonly agentsService;
    private readonly agentRunnableStateService;
    constructor(agentsService: AgentsService, agentRunnableStateService: AgentRunnableStateService);
    create(req: AuthenticatedRequest<{
        projectId: string;
    }>, _res: Response, payload: CreateAgentDto): Promise<import("./entities/agent.entity").Agent & {
        isRunnable: boolean;
        hasPublishHistory: boolean;
    }>;
    list(req: AuthenticatedRequest<{
        projectId: string;
    }, unknown, unknown, {
        filter?: string;
        skip?: string;
        take?: string;
        sortBy?: string;
    }>, res: Response, query: ListAgentsQueryDto): Promise<void>;
    get(req: AuthenticatedRequest<{
        projectId: string;
    }>, _res: Response, agentId: string): Promise<import("./entities/agent.entity").Agent & {
        isRunnable: boolean;
        hasPublishHistory: boolean;
    }>;
    getSummary(req: AuthenticatedRequest<{
        projectId: string;
        agentId: string;
    }>): Promise<AgentCapabilitySummary>;
    delete(req: AuthenticatedRequest<{
        projectId: string;
    }>, _res: Response, agentId: string): Promise<{
        success: boolean;
    }>;
}
