import { DataSource, Repository } from '@n8n/typeorm'; import { AgentChatSubscription } from '../entities/agent-chat-subscription.entity'; export interface AgentChatSubscriptionScope { agentId: string; integrationType: string; credentialId: string; } export declare class AgentChatSubscriptionRepository extends Repository { constructor(dataSource: DataSource); subscribe(scope: AgentChatSubscriptionScope, threadId: string): Promise; unsubscribe(scope: AgentChatSubscriptionScope, threadId: string): Promise; deleteForConnection(scope: AgentChatSubscriptionScope): Promise; isSubscribed(scope: AgentChatSubscriptionScope, threadId: string): Promise; listThreadIdsForConnection(scope: AgentChatSubscriptionScope): Promise; }