import { type AgentSkillAvailability, type AgentSkill, type AgentSkillMutationResponse, type SkillCreateMethod } from '@n8n/api-types'; import { Logger } from '@n8n/backend-common'; import { ProjectScopeService } from '@n8n/backend-services'; import { TransactionRunner } from '@n8n/db'; import { SkillAccessService, SkillService } from '../../modules/skills'; import { type AgentMutationTelemetryContext } from './agent-modification-telemetry.service'; import { AgentDefinitionService } from './agent-definition.service'; import { AgentSaveCompletionService } from './agent-save-completion.service'; import { AgentSkillRefsService } from './agent-skill-refs.service'; import { AgentRepository } from './repositories/agent.repository'; import { type SkillInstructionEdit } from './utils/skill-instruction-edits'; export declare class AgentSkillsService { private readonly logger; private readonly agentRepository; private readonly saveCompletion; private readonly agentSkillRefs; private readonly skillService; private readonly skillAccess; private readonly transactionRunner; private readonly projectScopeService; private readonly definitionService; constructor(logger: Logger, agentRepository: AgentRepository, saveCompletion: AgentSaveCompletionService, agentSkillRefs: AgentSkillRefsService, skillService: SkillService, skillAccess: SkillAccessService, transactionRunner: TransactionRunner, projectScopeService: ProjectScopeService, definitionService: AgentDefinitionService); listSkills(agentId: string, projectId: string): Promise>; getSkill(agentId: string, projectId: string, skillId: string): Promise; createAndAttachSkills(agentId: string, projectId: string, skills: AgentSkill[], context: AgentMutationTelemetryContext): Promise<{ skills: AgentSkillMutationResponse[]; configHash: string | null; }>; createAndAttachSkill(agentId: string, projectId: string, skill: AgentSkill, context: AgentMutationTelemetryContext, availableTo?: AgentSkillAvailability, method?: SkillCreateMethod): Promise; private createSkillsBatch; updateSkill(agentId: string, projectId: string, skillId: string, updates: Partial, context: AgentMutationTelemetryContext, baseSkillHash?: string, instructionEdits?: SkillInstructionEdit[], availableTo?: AgentSkillAvailability): Promise; deleteSkill(agentId: string, projectId: string, skillId: string, context: AgentMutationTelemetryContext): Promise; private availabilityChange; private validateSkill; private assertNoNameClashes; }