import type { SkillAgentOption, SkillUsedBy } from '@n8n/api-types'; import type { OperationContext } from '@n8n/db'; export type SkillAgent = { name: string; projectId: string; }; export declare abstract class SkillUsage { abstract findAgents(agentIds: string[], ctx: OperationContext): Promise>; abstract findUsage(skillId: string, projectIds: string[] | 'all', ctx: OperationContext): Promise; abstract countUsingAgents(skillIds: string[], ctx: OperationContext): Promise>; abstract findUsingAgentIds(skillId: string, ctx: OperationContext): Promise; abstract findSkillIdsUsedByAgent(agentId: string, ctx: OperationContext): Promise; abstract findAgentSummaries(projectIds: string[] | null, filter: { search?: string; limit: number; }): Promise; abstract assertRenameKeepsNamesApart(skillId: string, oldName: string, newName: string, ctx: OperationContext): Promise; abstract markFollowersChanged(skillId: string, ctx: OperationContext, userId?: string | null): Promise; abstract refreshAgents(agentIds: string[], excludePushRef?: string): Promise; }