import { type SkillUsedBy } from '@n8n/api-types'; import type { SkillTarget } from '../utils/skill-content'; import type { SkillAgent } from './skill-usage.contracts'; export type VisibleProjects = string[] | 'all'; export declare function nextFreeName(requested: string, takenKeys: ReadonlySet): string; export declare function isNameTaken(name: string, names: Array<{ skillId: string; name: string; }>, exceptSkillId?: string): boolean; export declare function findLosingAgents(agentIds: string[], target: SkillTarget, agents: ReadonlyMap): string[]; export declare function losingAgentsMessage(losing: string[], agents: ReadonlyMap, visibleProjects: VisibleProjects): string; export declare function blocksDelete(usage: SkillUsedBy): boolean; export declare function deleteRefusalMessage(skillName: string, usage: SkillUsedBy): string;