import type { DatasetRef } from '@n8n/api-types'; import { DataSource, Repository } from '@n8n/typeorm'; import { AgentEvalDataset } from '../entities'; import type { AgentEvalColumnMapping } from '../entities/agent-eval-dataset.ee'; type CreateAgentEvalDatasetAttrs = { name: string; agentId: string; datasetSource: DatasetRef['datasetSource']; datasetRef: DatasetRef['datasetRef']; description?: string | null; columnMapping?: AgentEvalColumnMapping | null; createdById?: string | null; }; type UpdateAgentEvalDatasetAttrs = { name?: string; description?: string | null; columnMapping?: AgentEvalColumnMapping | null; }; export declare class AgentEvalDatasetRepository extends Repository { constructor(dataSource: DataSource); createDataset(attrs: CreateAgentEvalDatasetAttrs): Promise; findByAgentId(agentId: string): Promise; findById(id: string): Promise; findByIdAndAgentId(id: string, agentId: string): Promise; updateDataset(id: string, agentId: string, attrs: UpdateAgentEvalDatasetAttrs): Promise; isDataTableReadByOtherDataset(dataTableId: string, excludeDatasetId: string): Promise; deleteDataset(id: string, agentId: string): Promise; } export {};