import { ListAgentSessionsQueryDto } from '@n8n/api-types'; import type { AuthenticatedRequest } from '@n8n/db'; import type { Response } from 'express'; import { AgentExecutionService } from './agent-execution.service'; import { AgentSessionLangSmithExportService } from './agent-session-langsmith-export.service'; export declare class AgentThreadsController { private readonly agentExecutionService; private readonly langsmithExportService; constructor(agentExecutionService: AgentExecutionService, langsmithExportService: AgentSessionLangSmithExportService); listThreads(req: AuthenticatedRequest<{ projectId: string; agentId: string; }>, _res: Response, query: ListAgentSessionsQueryDto): Promise<{ threads: import("./agent-execution.service").ThreadListItem[]; nextCursor: string | null; }>; getThread(req: AuthenticatedRequest<{ projectId: string; agentId: string; threadId: string; }>): Promise; exportThreadToLangSmith(req: AuthenticatedRequest<{ projectId: string; agentId: string; threadId: string; }>): Promise; deleteThread(req: AuthenticatedRequest<{ projectId: string; agentId: string; threadId: string; }>): Promise<{ success: boolean; }>; }