import { t as Skill } from "./skill-contract-D8a0YDIe.js";

//#region src/skills/types.d.ts
type SkillCommandDispatchSpec = {
  kind: "tool"; /** Name of the tool to invoke (AnyAgentTool.name). */
  toolName: string;
  /**
   * How to forward user-provided args to the tool.
   * - raw: forward the raw args string (no core parsing).
   */
  argMode?: "raw";
};
type SkillTelemetrySource = "bundled" | "unknown" | "workspace";
type SkillCommandSpec = {
  name: string;
  skillName: string;
  description: string; /** Bounded source label used for diagnostics. */
  skillSource?: SkillTelemetrySource; /** Localized descriptions for native command surfaces that support them. */
  descriptionLocalizations?: Record<string, string>; /** Optional deterministic dispatch behavior for this command. */
  dispatch?: SkillCommandDispatchSpec; /** Native prompt template used by Claude-bundle command markdown files. */
  promptTemplate?: string; /** Source markdown path for bundle-backed commands. */
  sourceFilePath?: string;
};
type SkillSnapshot = {
  prompt: string;
  skills: Array<{
    name: string;
    primaryEnv?: string;
    requiredEnv?: string[];
  }>; /** Normalized agent-level filter used to build this snapshot; undefined means unrestricted. */
  skillFilter?: string[];
  resolvedSkills?: Skill[];
  version?: number;
};
//#endregion
export { SkillSnapshot as n, SkillTelemetrySource as r, SkillCommandSpec as t };