import { z } from 'zod'; /** * Managed-capability exports and imports (plan Sections 4.4 and 4.5). Every * managed resource has one owning infrastructure instance. Another instance * may consume it only through an explicitly exported capability whose identity * is computed by the producer adapter from admitted source and deterministic * target identity. Provider-created values never enter it in MI0-MI9. */ export declare const DappManagedCapabilityExportIdentitySchema: "network.xyo.dapp.managed.capability.export.identity" & { readonly __schema: true; }; /** The export contract tuple every export, import, and composition binding repeats exactly. */ export declare const DappManagedCapabilityContractRefZod: z.ZodObject<{ exportContractId: z.ZodString; exportContractVersion: z.ZodNumber; exportContractHash: z.ZodString; exportNormalizationId: z.ZodString; }, z.core.$strict>; export type DappManagedCapabilityContractRef = z.infer; export declare const DappManagedCapabilityExportIdentityV1PreimageZod: z.ZodObject<{ identity: z.ZodType>; exportContractId: z.ZodString; exportContractVersion: z.ZodNumber; exportContractHash: z.ZodString; exportNormalizationId: z.ZodString; schema: z.ZodLiteral<"network.xyo.dapp.managed.capability.export.identity" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; resourceId: z.ZodString; owningInfrastructureId: z.ZodString; }, z.core.$strict>; export type DappManagedCapabilityExportIdentityV1Preimage = z.infer; export declare const DappManagedCapabilityExportIdentityV1Zod: z.ZodObject<{ identity: z.ZodType>; exportContractId: z.ZodString; exportContractVersion: z.ZodNumber; exportContractHash: z.ZodString; exportNormalizationId: z.ZodString; schema: z.ZodLiteral<"network.xyo.dapp.managed.capability.export.identity" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; resourceId: z.ZodString; owningInfrastructureId: z.ZodString; exportIdentityHash: z.ZodString; }, z.core.$strict>; export type DappManagedCapabilityExportIdentityV1 = z.infer; /** D-002 kind `managed-capability-export-identity` version 1. */ export declare function hashDappManagedCapabilityExportIdentityV1(preimage: unknown): string; export declare function verifyDappManagedCapabilityExportIdentityV1(value: unknown): DappManagedCapabilityExportIdentityV1; /** One export from the owning target plan; unique by (resourceId, owningInfrastructureId, exportContractId, exportContractVersion). */ export declare const DappManagedCapabilityExportV1Zod: z.ZodObject<{ exportIdentityHash: z.ZodString; exportContractId: z.ZodString; exportContractVersion: z.ZodNumber; exportContractHash: z.ZodString; exportNormalizationId: z.ZodString; resourceId: z.ZodString; owningInfrastructureId: z.ZodString; producerTargetObjectIds: z.ZodArray; }, z.core.$strict>; export type DappManagedCapabilityExportV1 = z.infer; /** One import into a consuming target plan; unique by the export key plus `consumerInfrastructureId`. */ export declare const DappManagedCapabilityImportV1Zod: z.ZodObject<{ exportIdentityHash: z.ZodString; exportContractId: z.ZodString; exportContractVersion: z.ZodNumber; exportContractHash: z.ZodString; exportNormalizationId: z.ZodString; resourceId: z.ZodString; owningInfrastructureId: z.ZodString; consumerInfrastructureId: z.ZodString; consumerThingIds: z.ZodArray; consumerHostPartitionIds: z.ZodArray; }, z.core.$strict>; export type DappManagedCapabilityImportV1 = z.infer; export declare function compareDappManagedCapabilityExportsV1(left: DappManagedCapabilityExportV1, right: DappManagedCapabilityExportV1): number; export declare function compareDappManagedCapabilityImportsV1(left: DappManagedCapabilityImportV1, right: DappManagedCapabilityImportV1): number; //# sourceMappingURL=managedCapability.d.ts.map