import { z } from 'zod'; /** * AIP-44 ACP.md frontmatter zod schema. * * Mirrors `resources/aip-44/draft/ACP.schema.json` field-for-field. * AIP-44 is an agentproto profile of the upstream Agent Client * Protocol (agentclientprotocol.com) — the manifest declares an * agent or client's role/transport/conformance level, and AIP-44- * specific bindings live under `metadata.aip44.*` so plain ACP * runtimes preserve them verbatim. * * Both authoring paths (`define-acp.ts` for TS-authored manifests * and `manifest/index.ts` for ACP.md parsing) validate against this * schema, so every field-level constraint runs in both paths from a * single source of truth. * * Cross-field rules (tier=sandboxed ⇒ sandbox required) live in * `define-acp.ts`'s `validate(def)` body — they're harder to encode * in a flat zod schema and want a single error path. */ declare const aip44ExtensionsSchema: z.ZodObject<{ acp_rev: z.ZodString; tier: z.ZodEnum<{ basic: "basic"; "governance-aware": "governance-aware"; sandboxed: "sandboxed"; }>; capabilities: z.ZodOptional; writeTextFile: z.ZodOptional; }, z.core.$strict>>; terminal: z.ZodOptional; }, z.core.$strict>>; agent: z.ZodOptional; promptCapabilities: z.ZodOptional; audio: z.ZodOptional; embeddedContext: z.ZodOptional; }, z.core.$strict>>; mcpCapabilities: z.ZodOptional; sse: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; operator: z.ZodOptional; governance: z.ZodOptional; sandbox: z.ZodOptional; audit: z.ZodOptional; kind: z.ZodOptional>; }, z.core.$strict>>; mcp_servers: z.ZodOptional; ref: z.ZodOptional; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strict>>>; }, z.core.$loose>; declare const acpFrontmatterSchema: z.ZodObject<{ name: z.ZodString; id: z.ZodString; description: z.ZodString; version: z.ZodString; kind: z.ZodEnum<{ client: "client"; server: "server"; bridge: "bridge"; }>; transport: z.ZodUnion, z.ZodArray>]>; metadata: z.ZodObject<{ aip44: z.ZodObject<{ acp_rev: z.ZodString; tier: z.ZodEnum<{ basic: "basic"; "governance-aware": "governance-aware"; sandboxed: "sandboxed"; }>; capabilities: z.ZodOptional; writeTextFile: z.ZodOptional; }, z.core.$strict>>; terminal: z.ZodOptional; }, z.core.$strict>>; agent: z.ZodOptional; promptCapabilities: z.ZodOptional; audio: z.ZodOptional; embeddedContext: z.ZodOptional; }, z.core.$strict>>; mcpCapabilities: z.ZodOptional; sse: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; operator: z.ZodOptional; governance: z.ZodOptional; sandbox: z.ZodOptional; audit: z.ZodOptional; kind: z.ZodOptional>; }, z.core.$strict>>; mcp_servers: z.ZodOptional; ref: z.ZodOptional; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strict>>>; }, z.core.$loose>; }, z.core.$loose>; tags: z.ZodOptional>; }, z.core.$loose>; type AcpFrontmatter = z.infer; type Aip44Extensions = z.infer; export { type AcpFrontmatter as A, acpFrontmatterSchema as a, type Aip44Extensions as b };