import type { SkillMeta } from "./registry-types.js"; export interface CompactSkillDiscovery { name: string; category: string; description: string; } export type PublicSkillDiscovery = Omit & { description: string; tags: string[]; }; export declare function getCompactSkillDiscovery(skill: SkillMeta): CompactSkillDiscovery; export declare function getPublicSkillDiscovery(skill: T): PublicSkillDiscovery; export declare function publicDiscoveryTags(tags: string[]): string[]; export declare function sanitizePublicDiscoveryText(text: string): string; /** * Every skill now runs from bundled source or is instruction prose, so the * environment it declares IS the environment a caller must provide. A BYO-key * skill's variable is the single most important thing to surface, not to redact. */ export declare function publicDiscoveryEnvVars(_skillName: string, envVars: string[]): string[]; /** Dependencies are installed locally now, so the real list is the useful one. */ export declare function publicDiscoveryDependencies(_skillName: string, dependencies: Record): Record; /** The skill's own docs are the truth; there is no hosted runtime to describe. */ export declare function publicDiscoveryDocumentation(_skill: SkillMeta, documentation: string | null): string | null;