import { DataSource, Repository } from '@n8n/typeorm';
import { Agent } from '../entities/agent.entity';
export declare class AgentRepository extends Repository<Agent> {
    constructor(dataSource: DataSource);
    findByProjectId(projectId: string): Promise<Agent[]>;
    findByIdAndProjectId(id: string, projectId: string): Promise<Agent | null>;
    findPublished(): Promise<Agent[]>;
    findByIntegrationCredential(type: string, credentialId: string, projectId: string, excludeAgentId: string): Promise<Agent[]>;
}
