import { BaseRepository, TransactionRunner } from '@n8n/db'; import { DataSource, EntityManager } from '@n8n/typeorm'; import { ChatHubAgent, IChatHubAgent } from './chat-hub-agent.entity'; export declare class ChatHubAgentRepository extends BaseRepository { constructor(dataSource: DataSource, transactionRunner: TransactionRunner); 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; }