import type { GenerateSkillResult } from "./skill-generator.js"; export type EngineMode = "universal" | "anthropic-skill-creator"; export interface EmitOptions { /** Agent IDs to emit for. Legacy aliases resolve via LEGACY_AGENT_IDS. */ targetAgents: string[]; /** 'universal' emits cross-tool; 'anthropic-skill-creator' is Claude-only. */ engine: EngineMode; /** Injected clock — tests pass a frozen Date for deterministic output. */ now?: Date; } export interface EmittedFileDescriptor { /** Canonical agent id from AGENTS_REGISTRY. */ targetId: string; /** Path from cwd, e.g. ".claude/skills//SKILL.md". */ relativePath: string; /** Full file content including frontmatter. */ content: string; } export interface DivergenceEntry { targetId: string; field: string; originalValue: unknown; /** Human-readable translation description; null when the field was dropped. */ translation: string | null; kind: "dropped" | "translated" | "security-critical-dropped"; } export interface EmitResult { files: EmittedFileDescriptor[]; divergences: DivergenceEntry[]; skipped: Array<{ targetId: string; reason: string; }>; /** Markdown report destined for `-divergence.md`. */ divergenceReport: string; } export declare function emitSkill(generated: GenerateSkillResult, options: EmitOptions): EmitResult;