import { m as AgentCliFrontmatter, A as AgentCliHandle } from '../schema-_N8GL_uH.js';
export { O as agentCliFrontmatterSchema } from '../schema-_N8GL_uH.js';
import '@agentproto/acp';
import '@agentproto/acp/client';
import '@agentproto/command-sandbox';
import 'zod';

/**
 * AIP-45 AGENT-CLI.md sidecar parser + manifest-to-handle constructor.
 *
 * Mirror of `@agentproto/skill/manifest` and `@agentproto/acp/manifest`:
 * the .md provides metadata; the TS runtime supplies any spec-specific
 * runtime bits. Both inputs end up in `defineAgentCli` so the cross-AIP
 * invariants run uniformly.
 */

interface AgentCliManifest {
    frontmatter: AgentCliFrontmatter;
    body: string;
}
declare function parseAgentCliManifest(source: string): AgentCliManifest;
declare function agentCliFromManifest(manifest: AgentCliManifest): AgentCliHandle;

export { AgentCliFrontmatter, type AgentCliManifest, agentCliFromManifest, parseAgentCliManifest };
