import { DataSource, EntityManager, Repository } from '@n8n/typeorm'; import { ChatHubSession, IChatHubSession } from './chat-hub-session.entity'; export declare class ChatHubSessionRepository extends Repository { constructor(dataSource: DataSource); 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; }