import { DataSource, Repository } from '@n8n/typeorm'; import type { JsonObject } from 'n8n-workflow'; import { AgentEvalRating } from '../entities'; import type { AgentEvalVote } from '../entities/agent-eval-rating.ee'; type CreateAgentEvalRatingAttrs = { resultId: string; vote: AgentEvalVote; comment?: string | null; correction?: JsonObject | null; ratedById?: string | null; }; export declare class AgentEvalRatingRepository extends Repository { constructor(dataSource: DataSource); createRating(attrs: CreateAgentEvalRatingAttrs): Promise; findByResultId(resultId: string): Promise; findLatestByRunId(runId: string): Promise; } export {};