import type { AddDatasetRowDto, DatasetCandidateResponse } from '@n8n/api-types'; import type { User } from '@n8n/db'; import { EvaluationConfigRepository } from '@n8n/db'; import { ExecutionPersistence } from '../executions/execution-persistence'; import { DataTableService } from '../modules/data-table/data-table.service'; import { SourceControlPreferencesService } from '../modules/source-control.ee/source-control-preferences.service.ee'; export declare class EvaluationDatasetService { private readonly configRepository; private readonly executionPersistence; private readonly dataTableService; private readonly sourceControlPreferencesService; constructor(configRepository: EvaluationConfigRepository, executionPersistence: ExecutionPersistence, dataTableService: DataTableService, sourceControlPreferencesService: SourceControlPreferencesService); getCandidate(user: User, workflowId: string, configId: string, executionId: string): Promise; addRow(user: User, workflowId: string, configId: string, dto: AddDatasetRowDto): Promise[]>; private assertInstanceWriteAccess; private loadDataTableConfig; private loadSuccessfulExecution; private dataTableId; private assertDataTableAccess; private extractFields; private extractInputFields; private extractOutputFields; private suggestMapping; }