/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod'; export declare const SNAKE_OR_KEBAB_NAME_PATTERN: RegExp; /** * Schema and Type for Skill Frontmatter metadata. */ export declare const FrontmatterSchema: z.ZodPreprocess; compatibility: z.ZodOptional; 'allowed-tools': z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$loose>>; export interface Frontmatter { name: string; description: string; license?: string; compatibility?: string; allowedTools?: string; metadata?: Record; } /** * Wrapper for script content. */ export interface Script { src: string; } /** * L3 skill content: additional instructions, assets, and scripts. */ export interface Resources { references?: Record; assets?: Record; scripts?: Record; } /** * Complete skill representation including frontmatter, instructions, and resources. */ export interface Skill { frontmatter: Frontmatter; instructions: string; resources?: Resources; }