import { z } from 'zod'; /** * A finite, acyclic JSON/MessagePack value after the outer codec has decoded * bytes. Object keys are always strings; binary data is reserved for fields * with dedicated binary schemas. */ export type ProtocolValue = null | boolean | number | string | ProtocolValue[] | { [key: string]: ProtocolValue; }; /** * Recursive portable value accepted in ordinary protocol records. It excludes * undefined, non-finite numbers, functions, symbols, Map/Set, and binary data. */ export declare const ProtocolValueSchema: z.ZodType; /** String-keyed map of portable protocol values. */ export declare const ProtocolRecordSchema: z.ZodRecord>>; /** Generic layer item; concrete layer registries define its fields and key. */ export declare const ItemSchema: z.ZodRecord>>; /** Generic field-level layer-item update; it must include the registry key fields. */ export declare const ItemDiffSchema: z.ZodRecord>>; /** Generic composite item key used by multi-key layers. */ export declare const ItemKeySchema: z.ZodRecord>>; /** Single-field item key accepted by layers with a primitive registry key. */ export declare const PrimitiveItemKeySchema: z.ZodUnion; /** Parsed semantic version used for protocol negotiation. */ export declare const ProtocolVersionSchema: z.ZodString; /** Immutable information emitted by a simulator before any other session message. */ export declare const SimulatorInfoPayloadSchema: z.ZodObject<{ protocol_version: z.ZodLiteral<"0.3">; binding: z.ZodObject<{ name: z.ZodString; version: z.ZodString; language: z.ZodOptional; }, z.core.$strict>; model: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; description: z.ZodOptional; version: z.ZodOptional; state_schema_version: z.ZodOptional; }, z.core.$strict>; instance_id: z.ZodString; capabilities: z.ZodArray; capability_details: z.ZodOptional>>>; }, z.core.$strict>; /** * Mutable scenario metadata applied as a shallow patch. Omitted keys are * preserved and null is a value, not a deletion marker. Identity and * capability fields are not accepted here. */ export declare const MetadataUpdatePayloadSchema: z.ZodObject<{ time: z.ZodOptional; }, z.core.$catchall>>>; /** Opens a non-nestable state-sync replay transaction; no replay state commits before its matching end. */ export declare const StateSyncBeginPayloadSchema: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; instance_id: z.ZodString; mode: z.ZodEnum<{ reconcile: "reconcile"; replace: "replace"; }>; }, z.core.$strict>; /** Closes the active state-sync transaction and commits its staged renderer state. */ export declare const StateSyncEndPayloadSchema: z.ZodObject<{ request_id: z.ZodString; state_revision: z.ZodString; }, z.core.$strict>; /** Optional non-negative timing buckets for action diagnostics; extra numeric buckets are binding-defined. */ export declare const TickTimingBreakdownSchema: z.ZodObject<{ simulate_ms: z.ZodOptional; communicate_ms: z.ZodOptional; render_ms: z.ZodOptional; }, z.core.$catchall>; /** * Concrete target required by non-model actions. The binding validates current * existence, containment, and exact agreement with the action's declared scope. */ export declare const ActionTargetSchema: z.ZodUnion; env_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"layer">; env_id: z.ZodString; layer_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent">; env_id: z.ZodString; layer_id: z.ZodString; agent_id: z.ZodUnion; }, z.core.$strict>]>; /** Renderer request to execute one simulator-owned action. Every parsed request receives one result. */ export declare const ActionInvokePayloadSchema: z.ZodObject<{ id: z.ZodString; request_id: z.ZodString; continuous: z.ZodOptional; target: z.ZodOptional; env_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"layer">; env_id: z.ZodString; layer_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent">; env_id: z.ZodString; layer_id: z.ZodString; agent_id: z.ZodUnion; }, z.core.$strict>]>>; kwargs: z.ZodOptional>>>; }, z.core.$strict>; /** Structured action or protocol operation failure; its presence ends the active continuous action loop. */ export declare const ActionExecutionErrorSchema: z.ZodObject<{ code: z.ZodString; message: z.ZodString; data: z.ZodOptional>>; }, z.core.$strict>; /** Correlated completion for an action invocation, sent only after its visible state updates. */ export declare const ActionResultPayloadSchema: z.ZodObject<{ id: z.ZodString; request_id: z.ZodString; should_continue: z.ZodOptional; error: z.ZodOptional>>; }, z.core.$strict>>; timings: z.ZodOptional; communicate_ms: z.ZodOptional; render_ms: z.ZodOptional; }, z.core.$catchall>>; }, z.core.$strict>; /** Removes a simulator-owned action definition by ID; missing IDs are idempotent no-ops. */ export declare const ActionDeletePayloadSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; /** Creates one scenario environment container. `2d` covers both grid and graph layouts. */ export declare const EnvCreatePayloadSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ "2d": "2d"; uniform: "uniform"; }>; }, z.core.$strict>; /** Removes an environment and its layers; missing IDs are idempotent no-ops. */ export declare const EnvDeletePayloadSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; /** Creates an environment-local layer with fixed dependency topology. */ export declare const EnvLayerCreatePayloadSchema: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; layer_type: z.ZodString; dependency_layer_ids: z.ZodOptional>; metadata: z.ZodOptional>>>; }, z.core.$strict>; /** Replaces a layer's metadata as a whole; it cannot mutate items or dependency topology. */ export declare const EnvLayerUpdatePayloadSchema: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; metadata: z.ZodRecord>>; }, z.core.$strict>; /** Removes one layer from an environment; missing IDs are idempotent no-ops. */ export declare const EnvLayerDeletePayloadSchema: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; }, z.core.$strict>; /** Creates layer-owned items conforming to the target layer registry. */ export declare const ItemCreatePayloadSchema: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodArray>>>; }, z.core.$strict>; /** Applies field-level changes to existing layer items. */ export declare const ItemUpdatePayloadSchema: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodArray>>>; }, z.core.$strict>; /** Deletes layer-owned items by their primitive or composite registry keys. */ export declare const ItemDeletePayloadSchema: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodUnion>, z.ZodArray>>>]>; }, z.core.$strict>; /** Removes a parameter definition by ID; missing IDs are idempotent no-ops. */ export declare const ParameterDeletePayloadSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; /** Simulator correction for an optimistic parameter edit; definition changes use `param_update` instead. */ export declare const ParameterSyncPayloadSchema: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; }, z.core.$strict>; /** Deletes an explicitly typed chart group or series; deleting a group also deletes its series. */ export declare const ChartDeletePayloadSchema: z.ZodObject<{ kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; }, z.core.$strict>; /** Incremental chart data and/or explicit clear/truncate operations; at least one collection is required. */ export declare const ChartUpdatePayloadSchema: z.ZodObject<{ updates: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strict>>>; operations: z.ZodOptional; kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"clear">; kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"truncate">; kind: z.ZodLiteral<"all">; time: z.ZodNumber; inclusive: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"truncate">; kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; time: z.ZodNumber; inclusive: z.ZodBoolean; }, z.core.$strict>]>>>; }, z.core.$strict>; /** * Renderer presentation suggestion for a monitor's current value. `auto` or * omission selects tree for records, table for arrays, and text otherwise; * incompatible hints fall back to a bounded text/raw representation. */ export declare const MonitorRenderHintSchema: z.ZodEnum<{ auto: "auto"; table: "table"; text: "text"; tree: "tree"; }>; /** Definition for a current-value monitor; monitor history belongs in charts. */ export declare const MonitorMetadataSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; render_hint: z.ZodOptional>; }, z.core.$strict>; /** Replaces the current value of an existing monitor. */ export declare const MonitorUpdatePayloadSchema: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; revision: z.ZodOptional>; }, z.core.$strict>; /** Removes a monitor by ID; missing IDs are idempotent no-ops. */ export declare const MonitorDeletePayloadSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; /** * Complete projected state for one environment in a scene restore, never a * diff. Omitted item arrays on item-bearing layers mean empty collections. */ export declare const RestorableEnvironmentSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ "2d": "2d"; uniform: "uniform"; }>; layers: z.ZodArray>; metadata: z.ZodOptional>>>; items: z.ZodOptional>>>>; }, z.core.$strict>>; }, z.core.$strict>; /** Opaque full-state checkpoint carried as base64/data URL JSON or MessagePack bytes. */ export declare const CheckpointSchema: z.ZodObject<{ encoding: z.ZodString; data: z.ZodUnion, Uint8Array>]>; }, z.core.$strict>; /** Renderer request to restore checkpoint and/or projected state in a separate atomic transaction. */ export declare const SceneRestorePayloadSchema: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; state_schema_version: z.ZodOptional; expected_instance_id: z.ZodOptional; checkpoint: z.ZodOptional, Uint8Array>]>; }, z.core.$strict>>; time: z.ZodOptional; parameters: z.ZodOptional>; }, z.core.$strict>>>; envs: z.ZodOptional; layers: z.ZodArray>; metadata: z.ZodOptional>>>; items: z.ZodOptional>>>>; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>; /** Opens the staged scene-restore replay corresponding to a restore request. */ export declare const SceneRestoreBeginPayloadSchema: z.ZodObject<{ request_id: z.ZodString; }, z.core.$strict>; /** Completes a scene restore; only `ok` commits the staged renderer state. */ export declare const SceneRestoreEndPayloadSchema: z.ZodObject<{ request_id: z.ZodString; status: z.ZodEnum<{ failed: "failed"; ok: "ok"; rejected: "rejected"; }>; error: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; /** Requests an optional exact checkpoint capture at an action boundary. */ export declare const SceneCapturePayloadSchema: z.ZodObject<{ request_id: z.ZodString; }, z.core.$strict>; /** Correlated result for scene capture; checkpoints never travel in action results. */ export declare const SceneCaptureResultPayloadSchema: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; state_schema_version: z.ZodOptional; checkpoint: z.ZodObject<{ encoding: z.ZodString; data: z.ZodUnion, Uint8Array>]>; }, z.core.$strict>; }, z.core.$strict>; /** Severity level for a simulator log entry. */ export declare const LogLevelSchema: z.ZodEnum<{ critical: "critical"; debug: "debug"; error: "error"; info: "info"; warning: "warning"; }>; /** Structured simulator diagnostic log entry. */ export declare const LogPayloadSchema: z.ZodObject<{ message: z.ZodString; level: z.ZodOptional>; target: z.ZodOptional; timestamp: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; /** Independent protocol or runtime error that cannot be expressed as a correlated action result. */ export declare const ErrorPayloadSchema: z.ZodObject<{ code: z.ZodString; message: z.ZodString; request_id: z.ZodOptional; path: z.ZodOptional; retryable: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; /** Announces cacheable content-addressed assets without transferring their bytes. */ export declare const AssetMetadataPayloadSchema: z.ZodObject<{ assets: z.ZodArray; }, z.core.$strip>>; }, z.core.$strict>; /** Transfers bytes for one previously announced asset. */ export declare const AssetDataPayloadSchema: z.ZodObject<{ id: z.ZodString; hash: z.ZodString; mime: z.ZodString; data: z.ZodUnion, Uint8Array>]>; }, z.core.$strict>; /** Removes renderer-side cached assets by ID. */ export declare const AssetDeletePayloadSchema: z.ZodObject<{ ids: z.ZodArray; }, z.core.$strict>; /** Renderer inventory of currently held asset hashes; it does not mutate simulator state. */ export declare const AssetSyncPayloadSchema: z.ZodObject<{ assets: z.ZodRecord; }, z.core.$strict>; /** Asks the renderer to capture exactly one environment or chart. */ export declare const ScreenshotRequestPayloadSchema: z.ZodObject<{ request_id: z.ZodString; env_id: z.ZodOptional; chart_id: z.ZodOptional; format: z.ZodOptional>; quality: z.ZodOptional; }, z.core.$strict>; /** Correlated renderer capture result containing image bytes or a structured error. */ export declare const ScreenshotResponsePayloadSchema: z.ZodObject<{ request_id: z.ZodString; data: z.ZodOptional, Uint8Array>]>>; mime: z.ZodOptional; error: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; /** Renderer read-only inventory request that begins simulator-to-renderer state replay. */ export declare const StateSyncRequestSchema: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; instance_id: z.ZodOptional; state_revision: z.ZodOptional; metadata_revision: z.ZodOptional; parameters: z.ZodArray; type: z.ZodLiteral<"number">; value: z.ZodNumber; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"enum">; value: z.ZodString; options: z.ZodArray; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"string">; value: z.ZodString; }, z.core.$strict>], "type">>; actions: z.ZodArray>; kwargs: z.ZodOptional; type: z.ZodEnum<{ boolean: "boolean"; enum: "enum"; integer: "integer"; json: "json"; number: "number"; string: "string"; }>; required: z.ZodOptional; default: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>>; continuous: z.ZodOptional; }, z.core.$strict>>; envs: z.ZodArray>; }, z.core.$strict>>; charts: z.ZodArray; }, z.core.$strict>>; monitors: z.ZodArray>; }, z.core.$strict>>; }, z.core.$strict>; /** Renderer optimistic parameter edit; simulators reply only when rejecting or canonicalizing via `param_sync`. */ export declare const ParameterChangePayloadSchema: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; }, z.core.$strict>; /** Canonical strict envelope union for simulator-originated protocol messages. */ export declare const SimulatorToRendererMessageSchema: z.ZodUnion; payload: z.ZodObject<{ protocol_version: z.ZodLiteral<"0.3">; binding: z.ZodObject<{ name: z.ZodString; version: z.ZodString; language: z.ZodOptional; }, z.core.$strict>; model: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; description: z.ZodOptional; version: z.ZodOptional; state_schema_version: z.ZodOptional; }, z.core.$strict>; instance_id: z.ZodString; capabilities: z.ZodArray; capability_details: z.ZodOptional>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"metadata_update">; payload: z.ZodObject<{ time: z.ZodOptional; }, z.core.$catchall>>>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"state_sync_begin">; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; instance_id: z.ZodString; mode: z.ZodEnum<{ reconcile: "reconcile"; replace: "replace"; }>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"state_sync_end">; payload: z.ZodObject<{ request_id: z.ZodString; state_revision: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_result">; payload: z.ZodObject<{ id: z.ZodString; request_id: z.ZodString; should_continue: z.ZodOptional; error: z.ZodOptional>>; }, z.core.$strict>>; timings: z.ZodOptional; communicate_ms: z.ZodOptional; render_ms: z.ZodOptional; }, z.core.$catchall>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_create">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; scope: z.ZodOptional>; kwargs: z.ZodOptional; type: z.ZodEnum<{ boolean: "boolean"; enum: "enum"; integer: "integer"; json: "json"; number: "number"; string: "string"; }>; required: z.ZodOptional; default: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>>; continuous: z.ZodOptional; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_update">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; scope: z.ZodOptional>; kwargs: z.ZodOptional; type: z.ZodEnum<{ boolean: "boolean"; enum: "enum"; integer: "integer"; json: "json"; number: "number"; string: "string"; }>; required: z.ZodOptional; default: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>>; continuous: z.ZodOptional; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_create">; payload: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ "2d": "2d"; uniform: "uniform"; }>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_layer_create">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; layer_type: z.ZodString; dependency_layer_ids: z.ZodOptional>; metadata: z.ZodOptional>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_layer_update">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; metadata: z.ZodRecord>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_layer_delete">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"item_create">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodArray>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"item_update">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodArray>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"item_delete">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodUnion>, z.ZodArray>>>]>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_create">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"number">; value: z.ZodNumber; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"enum">; value: z.ZodString; options: z.ZodArray; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"string">; value: z.ZodString; }, z.core.$strict>], "type">; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"number">; value: z.ZodNumber; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"enum">; value: z.ZodString; options: z.ZodArray; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"string">; value: z.ZodString; }, z.core.$strict>], "type">; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_sync">; payload: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"chart_create">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; color: z.ZodOptional; data_list: z.ZodOptional; }, z.core.$strict>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"chart_update">; payload: z.ZodObject<{ updates: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strict>>>; operations: z.ZodOptional; kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"clear">; kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"truncate">; kind: z.ZodLiteral<"all">; time: z.ZodNumber; inclusive: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"truncate">; kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; time: z.ZodNumber; inclusive: z.ZodBoolean; }, z.core.$strict>]>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"chart_delete">; payload: z.ZodObject<{ kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"monitor_create">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; render_hint: z.ZodOptional>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"monitor_update">; payload: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; revision: z.ZodOptional>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"monitor_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_metadata">; payload: z.ZodObject<{ assets: z.ZodArray; }, z.core.$strip>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_data">; payload: z.ZodObject<{ id: z.ZodString; hash: z.ZodString; mime: z.ZodString; data: z.ZodUnion, Uint8Array>]>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_delete">; payload: z.ZodObject<{ ids: z.ZodArray; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"screenshot_request">; payload: z.ZodObject<{ request_id: z.ZodString; env_id: z.ZodOptional; chart_id: z.ZodOptional; format: z.ZodOptional>; quality: z.ZodOptional; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_restore_begin">; payload: z.ZodObject<{ request_id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_restore_end">; payload: z.ZodObject<{ request_id: z.ZodString; status: z.ZodEnum<{ failed: "failed"; ok: "ok"; rejected: "rejected"; }>; error: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_capture_result">; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; state_schema_version: z.ZodOptional; checkpoint: z.ZodObject<{ encoding: z.ZodString; data: z.ZodUnion, Uint8Array>]>; }, z.core.$strict>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"log">; payload: z.ZodObject<{ message: z.ZodString; level: z.ZodOptional>; target: z.ZodOptional; timestamp: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"error">; payload: z.ZodObject<{ code: z.ZodString; message: z.ZodString; request_id: z.ZodOptional; path: z.ZodOptional; retryable: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>]>; /** Canonical strict envelope union for renderer-originated protocol messages. */ export declare const RendererToSimulatorMessageSchema: z.ZodUnion; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; instance_id: z.ZodOptional; state_revision: z.ZodOptional; metadata_revision: z.ZodOptional; parameters: z.ZodArray; type: z.ZodLiteral<"number">; value: z.ZodNumber; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"enum">; value: z.ZodString; options: z.ZodArray; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"string">; value: z.ZodString; }, z.core.$strict>], "type">>; actions: z.ZodArray>; kwargs: z.ZodOptional; type: z.ZodEnum<{ boolean: "boolean"; enum: "enum"; integer: "integer"; json: "json"; number: "number"; string: "string"; }>; required: z.ZodOptional; default: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>>; continuous: z.ZodOptional; }, z.core.$strict>>; envs: z.ZodArray>; }, z.core.$strict>>; charts: z.ZodArray; }, z.core.$strict>>; monitors: z.ZodArray>; }, z.core.$strict>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_change">; payload: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_invoke">; payload: z.ZodObject<{ id: z.ZodString; request_id: z.ZodString; continuous: z.ZodOptional; target: z.ZodOptional; env_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"layer">; env_id: z.ZodString; layer_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent">; env_id: z.ZodString; layer_id: z.ZodString; agent_id: z.ZodUnion; }, z.core.$strict>]>>; kwargs: z.ZodOptional>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_sync">; payload: z.ZodObject<{ assets: z.ZodRecord; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"screenshot_response">; payload: z.ZodObject<{ request_id: z.ZodString; data: z.ZodOptional, Uint8Array>]>>; mime: z.ZodOptional; error: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_restore">; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; state_schema_version: z.ZodOptional; expected_instance_id: z.ZodOptional; checkpoint: z.ZodOptional, Uint8Array>]>; }, z.core.$strict>>; time: z.ZodOptional; parameters: z.ZodOptional>; }, z.core.$strict>>>; envs: z.ZodOptional; layers: z.ZodArray>; metadata: z.ZodOptional>>>; items: z.ZodOptional>>>>; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_capture">; payload: z.ZodObject<{ request_id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"error">; payload: z.ZodObject<{ code: z.ZodString; message: z.ZodString; request_id: z.ZodOptional; path: z.ZodOptional; retryable: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>]>; /** Any canonical strict protocol message in the current contract. */ export declare const AnyProtocolMessageSchema: z.ZodUnion; payload: z.ZodObject<{ protocol_version: z.ZodLiteral<"0.3">; binding: z.ZodObject<{ name: z.ZodString; version: z.ZodString; language: z.ZodOptional; }, z.core.$strict>; model: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; description: z.ZodOptional; version: z.ZodOptional; state_schema_version: z.ZodOptional; }, z.core.$strict>; instance_id: z.ZodString; capabilities: z.ZodArray; capability_details: z.ZodOptional>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"metadata_update">; payload: z.ZodObject<{ time: z.ZodOptional; }, z.core.$catchall>>>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"state_sync_begin">; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; instance_id: z.ZodString; mode: z.ZodEnum<{ reconcile: "reconcile"; replace: "replace"; }>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"state_sync_end">; payload: z.ZodObject<{ request_id: z.ZodString; state_revision: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_result">; payload: z.ZodObject<{ id: z.ZodString; request_id: z.ZodString; should_continue: z.ZodOptional; error: z.ZodOptional>>; }, z.core.$strict>>; timings: z.ZodOptional; communicate_ms: z.ZodOptional; render_ms: z.ZodOptional; }, z.core.$catchall>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_create">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; scope: z.ZodOptional>; kwargs: z.ZodOptional; type: z.ZodEnum<{ boolean: "boolean"; enum: "enum"; integer: "integer"; json: "json"; number: "number"; string: "string"; }>; required: z.ZodOptional; default: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>>; continuous: z.ZodOptional; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_update">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; scope: z.ZodOptional>; kwargs: z.ZodOptional; type: z.ZodEnum<{ boolean: "boolean"; enum: "enum"; integer: "integer"; json: "json"; number: "number"; string: "string"; }>; required: z.ZodOptional; default: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>>; continuous: z.ZodOptional; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_create">; payload: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ "2d": "2d"; uniform: "uniform"; }>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_layer_create">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; layer_type: z.ZodString; dependency_layer_ids: z.ZodOptional>; metadata: z.ZodOptional>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_layer_update">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; metadata: z.ZodRecord>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"env_layer_delete">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"item_create">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodArray>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"item_update">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodArray>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"item_delete">; payload: z.ZodObject<{ env_id: z.ZodString; layer_id: z.ZodString; items: z.ZodUnion>, z.ZodArray>>>]>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_create">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"number">; value: z.ZodNumber; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"enum">; value: z.ZodString; options: z.ZodArray; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"string">; value: z.ZodString; }, z.core.$strict>], "type">; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"number">; value: z.ZodNumber; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"enum">; value: z.ZodString; options: z.ZodArray; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"string">; value: z.ZodString; }, z.core.$strict>], "type">; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_sync">; payload: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"chart_create">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; color: z.ZodOptional; data_list: z.ZodOptional; }, z.core.$strict>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"chart_update">; payload: z.ZodObject<{ updates: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strict>>>; operations: z.ZodOptional; kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"clear">; kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"truncate">; kind: z.ZodLiteral<"all">; time: z.ZodNumber; inclusive: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"truncate">; kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; time: z.ZodNumber; inclusive: z.ZodBoolean; }, z.core.$strict>]>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"chart_delete">; payload: z.ZodObject<{ kind: z.ZodEnum<{ group: "group"; series: "series"; }>; id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"monitor_create">; payload: z.ZodObject<{ id: z.ZodString; label: z.ZodString; render_hint: z.ZodOptional>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"monitor_update">; payload: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; revision: z.ZodOptional>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"monitor_delete">; payload: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_metadata">; payload: z.ZodObject<{ assets: z.ZodArray; }, z.core.$strip>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_data">; payload: z.ZodObject<{ id: z.ZodString; hash: z.ZodString; mime: z.ZodString; data: z.ZodUnion, Uint8Array>]>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_delete">; payload: z.ZodObject<{ ids: z.ZodArray; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"screenshot_request">; payload: z.ZodObject<{ request_id: z.ZodString; env_id: z.ZodOptional; chart_id: z.ZodOptional; format: z.ZodOptional>; quality: z.ZodOptional; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_restore_begin">; payload: z.ZodObject<{ request_id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_restore_end">; payload: z.ZodObject<{ request_id: z.ZodString; status: z.ZodEnum<{ failed: "failed"; ok: "ok"; rejected: "rejected"; }>; error: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_capture_result">; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; state_schema_version: z.ZodOptional; checkpoint: z.ZodObject<{ encoding: z.ZodString; data: z.ZodUnion, Uint8Array>]>; }, z.core.$strict>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"log">; payload: z.ZodObject<{ message: z.ZodString; level: z.ZodOptional>; target: z.ZodOptional; timestamp: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"error">; payload: z.ZodObject<{ code: z.ZodString; message: z.ZodString; request_id: z.ZodOptional; path: z.ZodOptional; retryable: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>]>, z.ZodUnion; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; instance_id: z.ZodOptional; state_revision: z.ZodOptional; metadata_revision: z.ZodOptional; parameters: z.ZodArray; type: z.ZodLiteral<"number">; value: z.ZodNumber; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"enum">; value: z.ZodString; options: z.ZodArray; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"boolean">; value: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; allow_runtime_change: z.ZodOptional; type: z.ZodLiteral<"string">; value: z.ZodString; }, z.core.$strict>], "type">>; actions: z.ZodArray>; kwargs: z.ZodOptional; type: z.ZodEnum<{ boolean: "boolean"; enum: "enum"; integer: "integer"; json: "json"; number: "number"; string: "string"; }>; required: z.ZodOptional; default: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; step: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>>; continuous: z.ZodOptional; }, z.core.$strict>>; envs: z.ZodArray>; }, z.core.$strict>>; charts: z.ZodArray; }, z.core.$strict>>; monitors: z.ZodArray>; }, z.core.$strict>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"param_change">; payload: z.ZodObject<{ id: z.ZodString; value: z.ZodType>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"action_invoke">; payload: z.ZodObject<{ id: z.ZodString; request_id: z.ZodString; continuous: z.ZodOptional; target: z.ZodOptional; env_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"layer">; env_id: z.ZodString; layer_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent">; env_id: z.ZodString; layer_id: z.ZodString; agent_id: z.ZodUnion; }, z.core.$strict>]>>; kwargs: z.ZodOptional>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"asset_sync">; payload: z.ZodObject<{ assets: z.ZodRecord; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"screenshot_response">; payload: z.ZodObject<{ request_id: z.ZodString; data: z.ZodOptional, Uint8Array>]>>; mime: z.ZodOptional; error: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_restore">; payload: z.ZodObject<{ request_id: z.ZodString; model_id: z.ZodString; state_schema_version: z.ZodOptional; expected_instance_id: z.ZodOptional; checkpoint: z.ZodOptional, Uint8Array>]>; }, z.core.$strict>>; time: z.ZodOptional; parameters: z.ZodOptional>; }, z.core.$strict>>>; envs: z.ZodOptional; layers: z.ZodArray>; metadata: z.ZodOptional>>>; items: z.ZodOptional>>>>; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"scene_capture">; payload: z.ZodObject<{ request_id: z.ZodString; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"error">; payload: z.ZodObject<{ code: z.ZodString; message: z.ZodString; request_id: z.ZodOptional; path: z.ZodOptional; retryable: z.ZodOptional; data: z.ZodOptional>>; }, z.core.$strict>; timestamp: z.ZodOptional; }, z.core.$strict>]>]>; /** Retrieve the canonical payload validator for a core protocol type. */ export declare function getPayloadSchema(type: string): z.ZodType | undefined; //# sourceMappingURL=schemas.d.ts.map