import { DataSource, EntityManager, Repository } from '@n8n/typeorm'; import { ChatHubTool, type IChatHubTool } from './chat-hub-tool.entity'; export declare class ChatHubToolRepository extends Repository { constructor(dataSource: DataSource); createTool(tool: Partial & Pick, trx?: EntityManager): Promise; updateTool(id: string, updates: Partial, trx?: EntityManager): Promise; deleteTool(id: string, trx?: EntityManager): Promise; getManyByUserId(userId: string): Promise; getEnabledByUserId(userId: string, trx?: EntityManager): Promise; getOneById(id: string, userId: string, trx?: EntityManager): Promise; getByIds(ids: string[], userId: string, trx?: EntityManager): Promise; getToolsForSession(sessionId: string, trx?: EntityManager): Promise; getToolsForAgent(agentId: string, trx?: EntityManager): Promise; getToolIdsForSession(sessionId: string, trx?: EntityManager): Promise; getToolIdsForAgent(agentId: string, trx?: EntityManager): Promise; setSessionTools(sessionId: string, toolIds: string[], trx?: EntityManager): Promise; setAgentTools(agentId: string, toolIds: string[], trx?: EntityManager): Promise; }