import { AddRunToCollectionDto, CreateEvaluationCollectionDto, UpdateEvaluationCollectionDto } from '@n8n/api-types'; import { Logger } from '@n8n/backend-common'; import type { AuthenticatedRequest } from '@n8n/db'; import { PostHogClient } from '../posthog'; import { EvaluationCollectionService } from './evaluation-collection.service'; type WorkflowParam = { workflowId: string; }; type CollectionParam = { workflowId: string; collectionId: string; }; type CollectionRunParam = { workflowId: string; collectionId: string; runId: string; }; type EvalVersionsQuery = { evaluationConfigId?: string; }; export declare class EvaluationCollectionsController { private readonly service; private readonly postHogClient; private readonly logger; constructor(service: EvaluationCollectionService, postHogClient: PostHogClient, logger: Logger); private assertFlagEnabled; list(req: AuthenticatedRequest): Promise; get(req: AuthenticatedRequest): Promise; create(req: AuthenticatedRequest, _res: unknown, payload: CreateEvaluationCollectionDto): Promise<{ runsStartedIds: string[]; id: string; name: string; description: string | null; workflowId: string; evaluationConfigId: string; createdById: string | null; createdAt: string; updatedAt: string; runCount: number; }>; update(req: AuthenticatedRequest, _res: unknown, payload: UpdateEvaluationCollectionDto): Promise; delete(req: AuthenticatedRequest): Promise<{ success: boolean; runsUnlinked: number; }>; addRun(req: AuthenticatedRequest, _res: unknown, payload: AddRunToCollectionDto): Promise; removeRun(req: AuthenticatedRequest): Promise; listVersions(req: AuthenticatedRequest): Promise; } export {};