import { DataSource, EntityManager, Repository } from '@n8n/typeorm'; import { ChatHubAgent, IChatHubAgent } from './chat-hub-agent.entity'; export declare class ChatHubAgentRepository extends Repository { constructor(dataSource: DataSource); createAgent(agent: Partial & Pick, trx?: EntityManager): Promise; updateAgent(id: string, updates: Partial, trx?: EntityManager): Promise; deleteAgent(id: string, trx?: EntityManager): Promise; getManyByUserId(userId: string): Promise; getManyByUserIdWithToolIds(userId: string): Promise; getOneById(id: string, userId: string, trx?: EntityManager): Promise; }