import { z } from 'zod'; import type { DappHealth } from './status.ts'; export declare const DappEngineConfigurationSchema: "network.xyo.dapp.engine.configuration" & { readonly __schema: true; }; export declare const DappEngineStatusSchema: "network.xyo.dapp.engine.status" & { readonly __schema: true; }; export declare const DappEngineMaximumSystems = 128; export declare const DappEngineNetworkZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"offline">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"xl1">; chainId: z.ZodString; genesisHash: z.ZodString; }, z.core.$strict>], "kind">; export type DappEngineNetwork = z.infer; export declare const DappEngineSystemDeclarationZod: z.ZodObject<{ systemId: z.ZodString; profileId: z.ZodString; failurePolicy: z.ZodEnum<{ required: "required"; isolated: "isolated"; }>; network: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"offline">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"xl1">; chainId: z.ZodString; genesisHash: z.ZodString; }, z.core.$strict>], "kind">; }, z.core.$strict>; export type DappEngineSystemDeclaration = z.infer; export declare const DappEngineConfigurationZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.engine.configuration" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; systems: z.ZodArray; network: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"offline">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"xl1">; chainId: z.ZodString; genesisHash: z.ZodString; }, z.core.$strict>], "kind">; }, z.core.$strict>>; }, z.core.$strict>; export type DappEngineConfiguration = z.infer; export declare const DappEngineSystemStatusZod: z.ZodObject<{ declaration: z.ZodObject<{ systemId: z.ZodString; profileId: z.ZodString; failurePolicy: z.ZodEnum<{ required: "required"; isolated: "isolated"; }>; network: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"offline">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"xl1">; chainId: z.ZodString; genesisHash: z.ZodString; }, z.core.$strict>], "kind">; }, z.core.$strict>; status: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.status" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; launchId: z.ZodString; planId: z.ZodOptional; systemInstanceId: z.ZodOptional; hostSessionId: z.ZodString; phase: z.ZodEnum<{ planning: "planning"; provisioning: "provisioning"; recovering: "recovering"; starting: "starting"; ready: "ready"; draining: "draining"; stopping: "stopping"; stopped: "stopped"; failed: "failed"; }>; health: z.ZodEnum<{ failed: "failed"; healthy: "healthy"; degraded: "degraded"; }>; live: z.ZodBoolean; ready: z.ZodBoolean; writeState: z.ZodEnum<{ none: "none"; partial: "partial"; full: "full"; "not-applicable": "not-applicable"; }>; writeCapabilities: z.ZodArray; }, z.core.$strict>>; convergence: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ status: z.ZodLiteral<"tracking">; chainId: z.ZodString; consistency: z.ZodLiteral<"finalized">; projectionId: z.ZodOptional; projectionVersion: z.ZodOptional; finalizedHead: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; processed: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; target: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; lag: z.ZodNumber; }, z.core.$strict>], "status">; degradations: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>; export type DappEngineSystemStatus = z.infer; export declare const DappEnginePhaseZod: z.ZodEnum<{ starting: "starting"; stopping: "stopping"; stopped: "stopped"; failed: "failed"; running: "running"; }>; export type DappEnginePhase = z.infer; /** Summarizes lifecycle health only; it grants no operation or signing authority. */ export declare function summarizeDappEngineSystems(phase: DappEnginePhase, systems: readonly DappEngineSystemStatus[]): { health: DappHealth; ready: boolean; }; declare const DappEngineStatusDocumentZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.engine.status" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; hostSessionId: z.ZodString; engineInstanceId: z.ZodString; phase: z.ZodEnum<{ starting: "starting"; stopping: "stopping"; stopped: "stopped"; failed: "failed"; running: "running"; }>; health: z.ZodEnum<{ failed: "failed"; healthy: "healthy"; degraded: "degraded"; }>; ready: z.ZodBoolean; systems: z.ZodArray; network: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"offline">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"xl1">; chainId: z.ZodString; genesisHash: z.ZodString; }, z.core.$strict>], "kind">; }, z.core.$strict>; status: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.status" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; launchId: z.ZodString; planId: z.ZodOptional; systemInstanceId: z.ZodOptional; hostSessionId: z.ZodString; phase: z.ZodEnum<{ planning: "planning"; provisioning: "provisioning"; recovering: "recovering"; starting: "starting"; ready: "ready"; draining: "draining"; stopping: "stopping"; stopped: "stopped"; failed: "failed"; }>; health: z.ZodEnum<{ failed: "failed"; healthy: "healthy"; degraded: "degraded"; }>; live: z.ZodBoolean; ready: z.ZodBoolean; writeState: z.ZodEnum<{ none: "none"; partial: "partial"; full: "full"; "not-applicable": "not-applicable"; }>; writeCapabilities: z.ZodArray; }, z.core.$strict>>; convergence: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ status: z.ZodLiteral<"tracking">; chainId: z.ZodString; consistency: z.ZodLiteral<"finalized">; projectionId: z.ZodOptional; projectionVersion: z.ZodOptional; finalizedHead: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; processed: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; target: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; lag: z.ZodNumber; }, z.core.$strict>], "status">; degradations: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>; export type DappEngineStatus = z.infer; export declare const DappEngineStatusZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.engine.status" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; hostSessionId: z.ZodString; engineInstanceId: z.ZodString; phase: z.ZodEnum<{ starting: "starting"; stopping: "stopping"; stopped: "stopped"; failed: "failed"; running: "running"; }>; health: z.ZodEnum<{ failed: "failed"; healthy: "healthy"; degraded: "degraded"; }>; ready: z.ZodBoolean; systems: z.ZodArray; network: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"offline">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"xl1">; chainId: z.ZodString; genesisHash: z.ZodString; }, z.core.$strict>], "kind">; }, z.core.$strict>; status: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.status" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; launchId: z.ZodString; planId: z.ZodOptional; systemInstanceId: z.ZodOptional; hostSessionId: z.ZodString; phase: z.ZodEnum<{ planning: "planning"; provisioning: "provisioning"; recovering: "recovering"; starting: "starting"; ready: "ready"; draining: "draining"; stopping: "stopping"; stopped: "stopped"; failed: "failed"; }>; health: z.ZodEnum<{ failed: "failed"; healthy: "healthy"; degraded: "degraded"; }>; live: z.ZodBoolean; ready: z.ZodBoolean; writeState: z.ZodEnum<{ none: "none"; partial: "partial"; full: "full"; "not-applicable": "not-applicable"; }>; writeCapabilities: z.ZodArray; }, z.core.$strict>>; convergence: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ status: z.ZodLiteral<"tracking">; chainId: z.ZodString; consistency: z.ZodLiteral<"finalized">; projectionId: z.ZodOptional; projectionVersion: z.ZodOptional; finalizedHead: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; processed: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; target: z.ZodObject<{ number: z.ZodNumber; hash: z.ZodString; }, z.core.$strict>; lag: z.ZodNumber; }, z.core.$strict>], "status">; degradations: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>; export declare const DappEngineSystemReferenceZod: z.ZodObject<{ engineInstanceId: z.ZodString; systemId: z.ZodString; systemInstanceId: z.ZodString; }, z.core.$strict>; export type DappEngineSystemReference = z.infer; export {}; //# sourceMappingURL=dappEngineModel.d.ts.map