import { z } from "zod"; export declare const SKILL_METADATA_SCHEMA_VERSION = "1.0.0"; /** * Validates skill naming: 1–64 chars, lowercase alphanumeric with single * hyphen separators, no leading/trailing/consecutive hyphens. */ export declare const SkillNameSchema: z.ZodString; export type SkillName = z.infer; /** * YAML frontmatter schema for SKILL.md files. The `name` field must be * valid kebab-case and must match the directory name containing the file. */ export declare const SkillFrontmatterSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; license: z.ZodOptional; compatibility: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strict>; export type SkillFrontmatter = z.infer; /** Lenient variant that strips unknown fields instead of rejecting them. */ export declare const SkillFrontmatterSchemaLenient: z.ZodObject<{ name: z.ZodString; description: z.ZodString; license: z.ZodOptional; compatibility: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; export type SkillFrontmatterLenient = z.infer; /** * Complete SKILL.md file: frontmatter + markdown body + filesystem context. * Enforces that frontmatter.name matches the directory name. */ export declare const SkillFileSchema: z.ZodObject<{ frontmatter: z.ZodObject<{ name: z.ZodString; description: z.ZodString; license: z.ZodOptional; compatibility: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strict>; body: z.ZodString; directoryName: z.ZodString; skillPath: z.ZodString; }, z.core.$strict>; export type SkillFile = z.infer; /** Lenient variant that strips unknown fields instead of rejecting them. */ export declare const SkillFileSchemaLenient: z.ZodObject<{ frontmatter: z.ZodObject<{ name: z.ZodString; description: z.ZodString; license: z.ZodOptional; compatibility: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; body: z.ZodString; directoryName: z.ZodString; skillPath: z.ZodString; }, z.core.$strip>; export type SkillFileLenient = z.infer; /** * Ordered discovery locations for OpenCode skills, from project-local to * global user directories. */ export declare const SkillDiscoveryLocationSchema: z.ZodEnum<{ project: "project"; global: "global"; agents: "agents"; claude: "claude"; "claude-global": "claude-global"; "agents-global": "agents-global"; }>; export type SkillDiscoveryLocation = z.infer; //# sourceMappingURL=skill-metadata.schema.d.ts.map