import type { Scope } from '@n8n/permissions'; export type SkillSourceAction = 'view' | 'viewCredential' | 'connect' | 'addSkills' | 'review' | 'checkNow' | 'stopSyncing' | 'replaceCredential' | 'disconnect' | 'deleteSkill'; export type SkillSourceScopeKind = 'global' | 'project'; export declare function requiredSourceScope(action: SkillSourceAction, kind: SkillSourceScopeKind): Scope | null;