import { ApiKey, ApiKeyRepository, User } from '@n8n/db'; import { EntityManager } from '@n8n/typeorm'; import { AuthStrategyRegistry } from '../../services/auth-strategy.registry'; import { JwtService } from '../../services/jwt.service'; import { UserWithContext } from '../../services/oauth-token-verifier-proxy.service'; export declare class McpServerApiKeyService { private readonly apiKeyRepository; private readonly jwtService; private readonly authStrategyRegistry; constructor(apiKeyRepository: ApiKeyRepository, jwtService: JwtService, authStrategyRegistry: AuthStrategyRegistry); createMcpServerApiKey(user: User, trx?: EntityManager): Promise; findServerApiKeyForUser(user: User, { redact }?: { redact?: boolean | undefined; }): Promise; verifyApiKey(apiKey: string): Promise; deleteAllMcpApiKeysForUser(user: User, trx?: EntityManager): Promise; private redactApiKey; getOrCreateApiKey(user: User): Promise; rotateMcpServerApiKey(user: User): Promise; }