/** * Adapter registry — the Fragment multi-target compiler's dispatch table. * * Maps a target id to its adapter and exposes a single `emitTarget()` entry point used by both the * CLI (`create-fragment emit --target `) and programmatic callers/tests. One IR in, one target * package out. */ import type { Adapter, EmitOptions } from './types.js'; import type { SkillIR } from './ir.js'; export declare const ADAPTERS: Record; export declare const TARGET_IDS: string[]; export declare function getAdapter(id: string): Adapter; /** Lower one IR to one target package under outDir. Returns the outDir-relative paths written. */ export declare function emitTarget(targetId: string, ir: SkillIR, outDir: string, opts?: EmitOptions): string[]; export type { Adapter, EmitOptions } from './types.js'; export type { SkillIR, NormalizedTool, KnowledgeFile } from './ir.js'; export { buildIRFromSkill, loadIR } from './ir.js'; //# sourceMappingURL=index.d.ts.map