/** * Claude Agent SDK Exporter * * Exports ContractSpec AgentSpec definitions to formats compatible with * @anthropic-ai/claude-agent-sdk and Claude Code CLI. */ import { type AgentSpec } from '@contractspec/lib.contracts-spec/agent'; import type { ClaudeAgentExportOptions, ClaudeAgentExportResult, Exporter } from './types'; /** * Claude Agent SDK Exporter. */ export declare class ClaudeAgentExporter implements Exporter { readonly format: "claude-agent"; /** * Export an AgentSpec to Claude Agent SDK format. */ export(spec: AgentSpec, options?: ClaudeAgentExportOptions): ClaudeAgentExportResult; /** * Export multiple specs. */ exportMany(specs: AgentSpec[], options?: ClaudeAgentExportOptions): ClaudeAgentExportResult[]; /** * Validate that a spec can be exported. */ validate(spec: AgentSpec): { valid: boolean; errors: string[]; }; /** * Build Claude Agent SDK configuration. */ private buildConfig; /** * Build system prompt from spec. */ private buildSystemPrompt; /** * Export tools to Claude Agent SDK format. */ private exportTools; /** * Normalize schema to Claude Agent SDK format. */ private normalizeSchema; /** * Generate CLAUDE.md content for Claude Code CLI integration. */ private generateClaudeMd; private formatMcpServer; } /** * Export an AgentSpec to Claude Agent SDK format. */ export declare function exportToClaudeAgent(spec: AgentSpec, options?: ClaudeAgentExportOptions): ClaudeAgentExportResult; /** * Generate CLAUDE.md content from an AgentSpec. */ export declare function generateClaudeMd(spec: AgentSpec, options?: Omit): string; /** * Validate an AgentSpec for Claude Agent SDK export. */ export declare function validateForClaudeAgent(spec: AgentSpec): { valid: boolean; errors: string[]; };