import { Agent, type AgentOptions, type Message } from "../../../../agents/agent.js"; import type { PromiseOrValue } from "../../../../utils/type-utils.js"; import type { Skill } from "./skill-loader.js"; export interface SkillToolInput extends Message { skill: string; args?: string; } export interface SkillToolOutput extends Message { result: string; } export interface SkillToolOptions extends AgentOptions { agentSkills: Skill[]; } export declare class AgentSkill extends Agent { formatOutput(output: SkillToolOutput | Message): PromiseOrValue; constructor(options: SkillToolOptions); private agentSkills; process(input: SkillToolInput): Promise; }