import { TransactionRunner, type OperationContext } from '@n8n/db'; import { DataSource } from '@n8n/typeorm'; import type { AgentChannelRef } from '../utils/agent-channel'; export declare class AgentChatSubscriptionRepository { private readonly table; constructor(dataSource: DataSource, transactionRunner: TransactionRunner); subscribe(scope: AgentChannelRef, threadId: string, ctx: OperationContext): Promise; unsubscribe(scope: AgentChannelRef, threadId: string, ctx: OperationContext): Promise; deleteForConnection(scope: AgentChannelRef, ctx: OperationContext): Promise; isSubscribed(scope: AgentChannelRef, threadId: string, ctx: OperationContext): Promise; listThreadIdsForConnection(scope: AgentChannelRef, ctx: OperationContext): Promise; }