import { DataSource, Repository } from '@n8n/typeorm'; import type { EntityManager } from '@n8n/typeorm'; import { SecretsProviderConnection } from '../entities'; export declare class SecretsProviderConnectionRepository extends Repository { constructor(dataSource: DataSource); findAll(): Promise; findIdByProviderKey(providerKey: string): Promise; findIdsByProviderKeys(providerKeys: string[], entityManager?: EntityManager): Promise; hasGlobalProvider(providerKey: string): Promise; findEnabledGlobalConnections(filters?: { providerKeys?: Array; }): Promise; findEnabledByProjectId(projectId: string, filters?: { providerKeys?: Array; }): Promise; isProviderAvailableInProject(providerKey: string, projectId: string): Promise; findAllAccessibleByProjectWithProjectAccess(projectId: string): Promise; findAllAccessibleProviderKeysByCredentialId(credentialId: string): Promise; findAccessibleByProviderKeyAndProjectId(providerKey: string, projectId: string): Promise; findByProviderKeyAndProjectId(providerKey: string, projectId: string): Promise; }