import { z } from 'zod'; /** * Provider request templates (plan Section 4.4). A target plan carries the * public shape of every provider request it will need, with typed placeholders * where a protected locator, commitment-bound prerequisite, or protected * material will be substituted by the host's pure reconciler after target * verification. The template therefore reproduces without leaking host facts, * while the protected action core still binds the exact rendered request. */ export declare const DappProviderRequestTemplateSchema: "network.xyo.dapp.provider.request.template" & { readonly __schema: true; }; export declare const DappProviderRequestMethodZod: z.ZodEnum<{ GET: "GET"; HEAD: "HEAD"; POST: "POST"; PUT: "PUT"; PATCH: "PATCH"; DELETE: "DELETE"; }>; export type DappProviderRequestMethod = z.infer; /** * What a placeholder is bound to. `target-object` binds a public target-object * ID; `provider-prerequisite` and `registry-repository` bind a public binding * ID whose commitment the protected reconciler must reproduce; `protected-material` * binds a keyed material commitment and may appear only in a body slot of a * separately qualified secret-bearing action. */ export declare const DappProviderRequestBindingClassZod: z.ZodEnum<{ "target-object": "target-object"; "provider-prerequisite": "provider-prerequisite"; "registry-repository": "registry-repository"; "protected-material": "protected-material"; }>; export type DappProviderRequestBindingClass = z.infer; export declare const DappProviderRequestPlaceholderLocationZod: z.ZodEnum<{ path: "path"; body: "body"; query: "query"; }>; export declare const DappProviderRequestPlaceholderZod: z.ZodObject<{ placeholderId: z.ZodString; location: z.ZodEnum<{ path: "path"; body: "body"; query: "query"; }>; bindingClass: z.ZodEnum<{ "target-object": "target-object"; "provider-prerequisite": "provider-prerequisite"; "registry-repository": "registry-repository"; "protected-material": "protected-material"; }>; bindingId: z.ZodString; commitment: z.ZodNullable; }, z.core.$strict>; export type DappProviderRequestPlaceholder = z.infer; export declare const DappProviderRequestSemanticHeaderZod: z.ZodObject<{ name: z.ZodString; values: z.ZodArray; }, z.core.$strict>; export declare const DappProviderRequestQueryParameterZod: z.ZodObject<{ name: z.ZodString; value: z.ZodString; }, z.core.$strict>; export declare const DappProviderRequestTemplateV1PreimageZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.provider.request.template" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; adapterDescriptorHash: z.ZodString; actionKind: z.ZodString; method: z.ZodEnum<{ GET: "GET"; HEAD: "HEAD"; POST: "POST"; PUT: "PUT"; PATCH: "PATCH"; DELETE: "DELETE"; }>; pathTemplate: z.ZodString; queryTemplate: z.ZodArray>; semanticHeaders: z.ZodArray; }, z.core.$strict>>; bodyTemplateHash: z.ZodNullable; placeholders: z.ZodArray; bindingClass: z.ZodEnum<{ "target-object": "target-object"; "provider-prerequisite": "provider-prerequisite"; "registry-repository": "registry-repository"; "protected-material": "protected-material"; }>; bindingId: z.ZodString; commitment: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; export type DappProviderRequestTemplateV1Preimage = z.infer; export declare const DappProviderRequestTemplateV1Zod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.provider.request.template" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; adapterDescriptorHash: z.ZodString; actionKind: z.ZodString; method: z.ZodEnum<{ GET: "GET"; HEAD: "HEAD"; POST: "POST"; PUT: "PUT"; PATCH: "PATCH"; DELETE: "DELETE"; }>; pathTemplate: z.ZodString; queryTemplate: z.ZodArray>; semanticHeaders: z.ZodArray; }, z.core.$strict>>; bodyTemplateHash: z.ZodNullable; placeholders: z.ZodArray; bindingClass: z.ZodEnum<{ "target-object": "target-object"; "provider-prerequisite": "provider-prerequisite"; "registry-repository": "registry-repository"; "protected-material": "protected-material"; }>; bindingId: z.ZodString; commitment: z.ZodNullable; }, z.core.$strict>>; requestTemplateHash: z.ZodString; }, z.core.$strict>; export type DappProviderRequestTemplateV1 = z.infer; /** D-002 kind `provider-request-template` version 1. */ export declare function hashDappProviderRequestTemplateV1(preimage: unknown): string; export declare function verifyDappProviderRequestTemplateV1(value: unknown): DappProviderRequestTemplateV1; //# sourceMappingURL=providerRequestTemplate.d.ts.map