import { z } from 'zod'; /** * Target-object identity (D-034, plan Section 4.5). A target object is one * provider object a target plan intends to manage. Its identity is derived from * a descriptor-versioned identity contract, the deployment namespace, the * owning infrastructure, and one typed stable anchor; never from provider * allocations, mutable fields, positional indexes, or aggregate membership. * Every value here is public-safe and excludes the protected deployment owner. */ export declare const DappTargetObjectIdentityContractSchema: "network.xyo.dapp.target.object.identity.contract" & { readonly __schema: true; }; export declare const DappDeploymentTargetNamespaceSchema: "network.xyo.dapp.target.deployment.namespace" & { readonly __schema: true; }; export declare const DappTargetObjectIdentitySchema: "network.xyo.dapp.target.object.identity" & { readonly __schema: true; }; export declare const DappTargetObjectIdentityContractV1PreimageZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.target.object.identity.contract" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; targetObjectIdentitySchemaVersion: z.ZodNumber; providerResourceKindVocabularyHash: z.ZodString; providerResourceKindNormalizationId: z.ZodString; targetObjectRoleVocabularyHash: z.ZodString; targetObjectRoleNormalizationId: z.ZodString; targetObjectIdentityAnchorSchemaHash: z.ZodString; targetObjectIdentityAnchorNormalizationId: z.ZodString; targetObjectIdProjectionKind: z.ZodLiteral<"target-object">; }, z.core.$strict>; export type DappTargetObjectIdentityContractV1Preimage = z.infer; export declare const DappTargetObjectIdentityContractV1Zod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.target.object.identity.contract" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; targetObjectIdentitySchemaVersion: z.ZodNumber; providerResourceKindVocabularyHash: z.ZodString; providerResourceKindNormalizationId: z.ZodString; targetObjectRoleVocabularyHash: z.ZodString; targetObjectRoleNormalizationId: z.ZodString; targetObjectIdentityAnchorSchemaHash: z.ZodString; targetObjectIdentityAnchorNormalizationId: z.ZodString; targetObjectIdProjectionKind: z.ZodLiteral<"target-object">; targetObjectIdentityContractHash: z.ZodString; }, z.core.$strict>; export type DappTargetObjectIdentityContractV1 = z.infer; /** D-002 kind `target-object-identity-contract` version 1. */ export declare function hashDappTargetObjectIdentityContractV1(preimage: unknown): string; export declare function verifyDappTargetObjectIdentityContractV1(value: unknown): DappTargetObjectIdentityContractV1; export declare const DappDeploymentTargetNamespaceV1PreimageZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.target.deployment.namespace" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; projectId: z.ZodString; deploymentName: z.ZodString; }, z.core.$strict>; export type DappDeploymentTargetNamespaceV1Preimage = z.infer; /** D-002 kind `target-deployment-namespace` version 1: the public namespace of one named deployment. */ export declare function hashDappDeploymentTargetNamespaceV1(preimage: unknown): string; export declare function deploymentTargetNamespaceId(projectId: string, deploymentName: string): string; /** * The closed anchor union. A per-semantic-object target anchors to exactly one * stable thing, resource, or host-partition ID; an aggregate target anchors to * a stable deployment role plus an explicit stable partition ID, so adding or * removing an aggregate member changes attribution without changing identity. */ export declare const DappTargetObjectAnchorZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"thing">; thingId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"resource">; resourceId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"host-partition">; hostPartitionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"deployment-role">; role: z.ZodString; partitionId: z.ZodString; }, z.core.$strict>], "kind">; export type DappTargetObjectAnchor = z.infer; export declare const DappTargetObjectIdentityV1PreimageZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.target.object.identity" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; targetObjectIdentitySchemaVersion: z.ZodNumber; targetObjectIdentityContractHash: z.ZodString; deploymentTargetNamespaceId: z.ZodString; infrastructureId: z.ZodString; kind: z.ZodEnum<{ vercel: "vercel"; cloudflare: "cloudflare"; kubernetes: "kubernetes"; proxmox: "proxmox"; }>; providerResourceKind: z.ZodString; targetObjectRole: z.ZodString; targetObjectIdentityAnchor: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"thing">; thingId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"resource">; resourceId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"host-partition">; hostPartitionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"deployment-role">; role: z.ZodString; partitionId: z.ZodString; }, z.core.$strict>], "kind">; }, z.core.$strict>; export type DappTargetObjectIdentityV1Preimage = z.infer; export declare const DappTargetObjectIdentityV1Zod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.target.object.identity" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; targetObjectIdentitySchemaVersion: z.ZodNumber; targetObjectIdentityContractHash: z.ZodString; deploymentTargetNamespaceId: z.ZodString; infrastructureId: z.ZodString; kind: z.ZodEnum<{ vercel: "vercel"; cloudflare: "cloudflare"; kubernetes: "kubernetes"; proxmox: "proxmox"; }>; providerResourceKind: z.ZodString; targetObjectRole: z.ZodString; targetObjectIdentityAnchor: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"thing">; thingId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"resource">; resourceId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"host-partition">; hostPartitionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"deployment-role">; role: z.ZodString; partitionId: z.ZodString; }, z.core.$strict>], "kind">; targetObjectId: z.ZodString; }, z.core.$strict>; export type DappTargetObjectIdentityV1 = z.infer; /** D-002 kind `target-object` version 1. */ export declare function hashDappTargetObjectIdentityV1(preimage: unknown): string; export declare function verifyDappTargetObjectIdentityV1(value: unknown): DappTargetObjectIdentityV1; //# sourceMappingURL=targetObjectIdentity.d.ts.map