import type { EntityManager } from '@n8n/typeorm'; export interface ICredentialConnectionStatusProvider { findConnectedCredentialIds(userId: string, credentialIds: string[]): Promise>; countConnectedUsers(credentialId: string): Promise; deleteAllUserEntries(credentialId: string, em?: EntityManager): Promise; cleanupOrphanedEntriesForUsers(userIds: string[], em?: EntityManager): Promise; }