import { type AgentJsonConfig, type AgentSkill, type AgentSkillMutationResponse } from '@n8n/api-types'; import { Logger } from '@n8n/backend-common'; import { AgentModificationTelemetryService, type AgentMutationTelemetryContext } from './agent-modification-telemetry.service'; import { AgentUpdateBroadcaster } from './agent-update-broadcaster'; import { Agent } from './entities/agent.entity'; import { AgentRepository } from './repositories/agent.repository'; export declare class AgentSkillsService { private readonly logger; private readonly agentRepository; private readonly modificationTelemetry; private readonly agentUpdateBroadcaster; constructor(logger: Logger, agentRepository: AgentRepository, modificationTelemetry: AgentModificationTelemetryService, agentUpdateBroadcaster: AgentUpdateBroadcaster); listSkills(agentId: string, projectId: string): Promise>; getSkill(agentId: string, projectId: string, skillId: string): Promise; createSkill(agentId: string, projectId: string, skill: AgentSkill, context: AgentMutationTelemetryContext): Promise; createSkills(agentId: string, projectId: string, skills: AgentSkill[], context: AgentMutationTelemetryContext): Promise; createAndAttachSkill(agentId: string, projectId: string, skill: AgentSkill, context: AgentMutationTelemetryContext): Promise; private createSkillsBatch; updateSkill(agentId: string, projectId: string, skillId: string, updates: Partial, context: AgentMutationTelemetryContext, baseSkillHash?: string): Promise; deleteSkill(agentId: string, projectId: string, skillId: string, context: AgentMutationTelemetryContext): Promise; removeUnreferencedSkills(entity: Agent, config: AgentJsonConfig): void; private validateSkill; private addSkill; private assertSkillNameIsUnique; private normalizeSkillName; private assertBatchSkillNamesAreUnique; private attachSkillRef; private clearRuntimes; }