import type { SkillSourceCredentialOption } from '@n8n/api-types'; import type { User } from '@n8n/db'; export type ResolvedSkillSourceCredential = { id: string; type: string; data: Record; }; export type SkillSourceCredentialScope = { projectId: string | null; user?: User; types: readonly string[]; check?: (credential: ResolvedSkillSourceCredential) => void; }; export declare abstract class SkillSourceCredentials { abstract listUsable(user: User, projectId: string | null, types: readonly string[]): Promise; abstract resolve(credentialId: string, scope: SkillSourceCredentialScope): Promise; }