import { BaseRepository, TransactionRunner } from '@n8n/db'; import { DataSource, EntityManager } from '@n8n/typeorm'; import { ChatHubSession, IChatHubSession } from './chat-hub-session.entity'; export declare class ChatHubSessionRepository extends BaseRepository { constructor(dataSource: DataSource, transactionRunner: TransactionRunner); createChatSession(session: Partial & Pick, trx?: EntityManager): Promise; updateChatSession(id: string, updates: Partial, trx?: EntityManager): Promise; deleteChatHubSession(id: string, trx?: EntityManager): Promise; getManyByUserId(userId: string, limit: number, cursor?: string, type?: string): Promise; existsById(id: string, userId: string, trx?: EntityManager): Promise; getOneById(id: string, userId: string, trx?: EntityManager): Promise; deleteAll(trx?: EntityManager): Promise; }