import type { UpsertEvaluationConfigDto } from '@n8n/api-types'; import { DataSource, Repository } from '@n8n/typeorm'; import { EvaluationConfig } from '../entities/evaluation-config.ee'; export declare class EvaluationConfigRepository extends Repository { constructor(dataSource: DataSource); listByWorkflowId(workflowId: string): Promise; findByIdAndWorkflowId(id: string, workflowId: string): Promise; createForWorkflow(id: string, workflowId: string, payload: UpsertEvaluationConfigDto): Promise; updateForWorkflow(id: string, workflowId: string, payload: UpsertEvaluationConfigDto): Promise; deleteByIdAndWorkflowId(id: string, workflowId: string): Promise; markInvalid(id: string, invalidReason: string): Promise; countDistinctWorkflowsWithConfigs(): Promise; }