import { z } from "zod"; import type { ResolvedRole, ResolvedSkill } from "../types.ts"; /** Self-contained skill payload a harness with no other skill machinery * can act on: full SKILL.md content plus resolved reference metadata. */ export interface LoadedSkillPayload { name: string; description: string; scope: ResolvedSkill["scope"]; path: string; content: string; references: Array<{ name: string; path: string; description: string; }>; } /** * Create the `load_role_skill` tool: resolve a skill by exact name across * all loaded roles and their nested subagent trees (deepest-first), load the * full SKILL.md content from disk, and return a complete, self-contained * payload so a harness with no other skill machinery can act on it. * * Deliberately named `load_role_skill` (not `skill`) to avoid collision with * any harness-native skill tool. Registered only on the Pi platform via * pi-extension.ts extraTools — NOT on opencode's tool-service.ts, which has * its own native skill mechanism. */ export declare function createLoadRoleSkillTool(resolvedRoles: ResolvedRole[]): import("../platform/types.ts").CanonicalToolDef<{ name: z.ZodString; }>; //# sourceMappingURL=skill-tool.d.ts.map