import type { ListAgentsQueryDto } from '@n8n/api-types'; import { DataSource, Repository } from '@n8n/typeorm'; import { Agent } from '../entities/agent.entity'; export declare class AgentRepository extends Repository { constructor(dataSource: DataSource); findByProjectId(projectId: string): Promise; findByProjectIdsPaginated(projectIds: string[], options: ListAgentsQueryDto): Promise<{ count: number; data: Agent[]; }>; private applyFilters; private applySorting; findByIdAndProjectId(id: string, projectId: string): Promise; findByIdsAndProjectId(ids: string[], projectId: string): Promise>>; findPublished(): Promise; findByIntegrationCredential(type: string, credentialId: string, projectId: string, excludeAgentId: string): Promise; }