import { z } from 'zod'; export declare const DappHostArtifactSchema: "network.xyo.dapp.host.artifact" & { readonly __schema: true; }; export declare const HostArtifactExecutableFileZod: z.ZodObject<{ path: z.ZodString; sha256: z.ZodString; size: z.ZodNumber; }, z.core.$strict>; export type HostArtifactExecutableFile = z.infer; export declare const HostArtifactActorDescriptorZod: z.ZodObject<{ kind: z.ZodLiteral<"actor">; metadata: z.ZodObject<{ descriptor: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; configSchemaHash: z.ZodString; implementationHash: z.ZodString; }, z.core.$strict>; actorSystemRunMode: z.ZodEnum<{ resident: "resident"; "one-shot": "one-shot"; }>; supportedExecutionModes: z.ZodArray>; requiredMonikers: z.ZodArray; }, z.core.$strict>; export type HostArtifactActorDescriptor = z.infer; export declare const HostArtifactProviderDescriptorZod: z.ZodObject<{ application: z.ZodOptional>; requiredCapabilities: z.ZodArray>; }, z.core.$strict>>; kind: z.ZodLiteral<"provider">; metadata: z.ZodObject<{ descriptor: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; configSchemaHash: z.ZodString; implementationHash: z.ZodString; }, z.core.$strict>; connectionTypes: z.ZodArray; providedMonikers: z.ZodArray; requiredMonikers: z.ZodArray; }, z.core.$strict>; export type HostArtifactProviderDescriptor = z.infer; export declare const HostArtifactDescriptorZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"actor">; metadata: z.ZodObject<{ descriptor: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; configSchemaHash: z.ZodString; implementationHash: z.ZodString; }, z.core.$strict>; actorSystemRunMode: z.ZodEnum<{ resident: "resident"; "one-shot": "one-shot"; }>; supportedExecutionModes: z.ZodArray>; requiredMonikers: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ application: z.ZodOptional>; requiredCapabilities: z.ZodArray>; }, z.core.$strict>>; kind: z.ZodLiteral<"provider">; metadata: z.ZodObject<{ descriptor: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; configSchemaHash: z.ZodString; implementationHash: z.ZodString; }, z.core.$strict>; connectionTypes: z.ZodArray; providedMonikers: z.ZodArray; requiredMonikers: z.ZodArray; }, z.core.$strict>], "kind">; export type HostArtifactDescriptor = z.infer; export declare const DappHostArtifactManifestZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.host.artifact" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; hashAlgorithm: z.ZodLiteral<"jcs-sha256-v1">; artifactId: z.ZodString; package: z.ZodObject<{ name: z.ZodString; version: z.ZodString; }, z.core.$strict>; runtime: z.ZodLiteral<"node">; nodeVersionRange: z.ZodString; hostProtocolVersions: z.ZodArray; installation: z.ZodObject<{ module: z.ZodString; export: z.ZodString; }, z.core.$strict>; hosts: z.ZodArray; artifactRoot: z.ZodString; files: z.ZodArray>; descriptors: z.ZodArray; metadata: z.ZodObject<{ descriptor: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; configSchemaHash: z.ZodString; implementationHash: z.ZodString; }, z.core.$strict>; actorSystemRunMode: z.ZodEnum<{ resident: "resident"; "one-shot": "one-shot"; }>; supportedExecutionModes: z.ZodArray>; requiredMonikers: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ application: z.ZodOptional>; requiredCapabilities: z.ZodArray>; }, z.core.$strict>>; kind: z.ZodLiteral<"provider">; metadata: z.ZodObject<{ descriptor: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; configSchemaHash: z.ZodString; implementationHash: z.ZodString; }, z.core.$strict>; connectionTypes: z.ZodArray; providedMonikers: z.ZodArray; requiredMonikers: z.ZodArray; }, z.core.$strict>], "kind">>; buildInputHash: z.ZodString; contentRoot: z.ZodString; }, z.core.$strict>; export type DappHostArtifactManifest = z.infer; export declare function normalizeHostArtifactFiles(files: readonly HostArtifactExecutableFile[]): HostArtifactExecutableFile[]; export declare function hashHostArtifactContent(filesValue: unknown): string; export declare function normalizeDappHostArtifactManifest(value: unknown): DappHostArtifactManifest; export declare function hashDappHostArtifactManifest(value: unknown): import("./canonicalDocument.ts").HashedDappDocument<{ schema: "network.xyo.dapp.host.artifact" & { readonly __schema: true; }; schemaVersion: 1; hashAlgorithm: "jcs-sha256-v1"; artifactId: string; package: { name: string; version: string; }; runtime: "node"; nodeVersionRange: string; hostProtocolVersions: string[]; installation: { module: string; export: string; }; hosts: string[]; artifactRoot: string; files: { path: string; sha256: string; size: number; }[]; descriptors: ({ kind: "actor"; metadata: { descriptor: { id: string; version: number; }; configSchemaHash: string; implementationHash: string; }; actorSystemRunMode: "resident" | "one-shot"; supportedExecutionModes: ("on-demand" | "event-driven" | "scheduled" | "resident")[]; requiredMonikers: string[]; } | { kind: "provider"; metadata: { descriptor: { id: string; version: number; }; configSchemaHash: string; implementationHash: string; }; connectionTypes: string[]; providedMonikers: string[]; requiredMonikers: string[]; application?: { providedCapabilities: { moniker: string; version: number; }[]; requiredCapabilities: { moniker: string; version: number; }[]; } | undefined; })[]; buildInputHash: string; contentRoot: string; }>; //# sourceMappingURL=hostArtifact.d.ts.map