import { z } from "zod"; import { type NolArtifactRef, type NolRecipeRevision, type NolRuntimeBinding, type NolTensorSite } from "../_types/schemas/nol.js"; export declare const NOL_VLLM_RUNTIME_VERSION: "omnius.nol.vllm-runtime.v1"; /** Full bytes of actual executable host modules, including a bundled module. */ export declare function nolVllmModuleDigest(url: string): string; export declare function nolVllmModulePin(url: string): () => string; export declare const nolVllmProtocolDigest: () => string; export declare const NolVllmSourceSchema: z.ZodObject<{ workerSha256: z.ZodString; companionSha256: z.ZodString; runtimeSha256: z.ZodString; }, z.core.$strict>; export type NolVllmSource = z.infer; export declare const NolVllmRuntimeLimitsSchema: z.ZodObject<{ maxPromptBytes: z.ZodNumber; maxInputTokens: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxOutputBytes: z.ZodNumber; maxEngineSteps: z.ZodNumber; maxWallTimeMs: z.ZodNumber; maxRequests: z.ZodNumber; maxForwardPositions: z.ZodNumber; }, z.core.$strict>; export type NolVllmRuntimeLimits = z.infer; declare const promptSchema: z.ZodObject<{ prompt: z.ZodString; promptArtifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export type NolVllmPrompt = z.infer; export declare function createNolVllmPrompt(bytes: Uint8Array, artifact: NolArtifactRef, limits: NolVllmRuntimeLimits): NolVllmPrompt; export declare function validateNolVllmRecipe(recipe: NolRecipeRevision | null, binding: NolRuntimeBinding, sites: readonly NolTensorSite[]): { recipe: NolRecipeRevision | null; recipeIdentityJson: string | null; }; export declare const NolVllmTokenizationSchema: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-tokenization.v1">; binding: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.runtime.v1">; id: z.ZodString; backend: z.ZodEnum<{ other: "other"; gne: "gne"; llama_cpp: "llama_cpp"; transformers: "transformers"; nnsight: "nnsight"; ollama: "ollama"; vllm: "vllm"; }>; modelDigest: z.ZodString; architectureMapDigest: z.ZodString; runtimeBuildDigest: z.ZodString; dependencyLockDigest: z.ZodString; tokenizerDigest: z.ZodString; chatTemplateDigest: z.ZodString; contextLimit: z.ZodNumber; }, z.core.$strict>; promptArtifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; renderedPrompt: z.ZodString; renderedSha256: z.ZodString; renderedBytes: z.ZodNumber; tokenIds: z.ZodArray; promptTokens: z.ZodNumber; thinking: z.ZodLiteral; }, z.core.$strict>; export type NolVllmTokenization = z.infer; export declare function verifyNolVllmTokenization(value: unknown, input: { prompt: NolVllmPrompt; binding: NolRuntimeBinding; limits: NolVllmRuntimeLimits; }): NolVllmTokenization; declare const reset: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-reset.v1">; binding: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.runtime.v1">; id: z.ZodString; backend: z.ZodEnum<{ other: "other"; gne: "gne"; llama_cpp: "llama_cpp"; transformers: "transformers"; nnsight: "nnsight"; ollama: "ollama"; vllm: "vllm"; }>; modelDigest: z.ZodString; architectureMapDigest: z.ZodString; runtimeBuildDigest: z.ZodString; dependencyLockDigest: z.ZodString; tokenizerDigest: z.ZodString; chatTemplateDigest: z.ZodString; contextLimit: z.ZodNumber; }, z.core.$strict>; epoch: z.ZodNumber; hooks: z.ZodLiteral<0>; activeRequests: z.ZodLiteral<0>; nnsightRequests: z.ZodLiteral<0>; prefixCaching: z.ZodLiteral; cacheScope: z.ZodLiteral<"logical_fresh_request_identity">; rawKvErasureClaim: z.ZodLiteral; }, z.core.$strict>; export type NolVllmReset = z.infer; export declare function verifyNolVllmReset(value: unknown, binding: NolRuntimeBinding, previousEpoch: number): NolVllmReset; export declare const NOL_VLLM_DECODE_PARAMETERS: { readonly detokenize: true; readonly skip_special_tokens: true; readonly spaces_between_special_tokens: true; readonly include_stop_str_in_output: false; readonly ignore_eos: false; readonly stop: readonly [ ]; readonly stop_token_ids: readonly [ ]; readonly n: 1; }; export declare const NolVllmAllocatorObservationSchema: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-cuda-allocator.v1">; logicalDevice: z.ZodLiteral<0>; gpuUuid: z.ZodString; allocatorBackend: z.ZodLiteral<"native">; allocatedBytes: z.ZodNumber; reservedBytes: z.ZodNumber; currentEpochPeakAllocatedBytes: z.ZodNumber; observedWorkerPeakAllocatedBytes: z.ZodNumber; observedPublicPeakResetCalls: z.ZodNumber; scope: z.ZodLiteral<"process_torch_cuda_allocator_observed_cumulative_peak_including_load_warmup_and_prior_requests">; peakDefinition: z.ZodLiteral<"maximum_before_source_reviewed_public_peak_resets_and_current_snapshot_not_driver_or_per_trial_kernel_peak">; }, z.core.$strict>; export declare const NolVllmPerformanceSchema: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-performance.v1">; statsEnabled: z.ZodLiteral; facts: z.ZodNullable; }, z.core.$strict>>; arrivalClock: z.ZodLiteral<"frontend_wall_time_seconds">; eventClock: z.ZodLiteral<"engine_core_monotonic_seconds">; queueSeconds: z.ZodNullable; prefillSeconds: z.ZodNullable; decodeSeconds: z.ZodNullable; ttftSeconds: z.ZodNullable; engineWallSeconds: z.ZodNumber; engineWallDefinition: z.ZodLiteral<"monotonic_add_request_through_final_synchronous_step_including_observers_excluding_decoder_replay_and_reset">; nativePhaseDefinition: z.ZodLiteral<"vllm_0.27.1_request_state_stats_prefill_and_decode_include_preemptions">; missingTimestampMeaning: z.ZodLiteral<"none_or_zero_native_timestamp_is_unavailable_not_zero_latency">; memory: z.ZodNullable; logicalDevice: z.ZodLiteral<0>; gpuUuid: z.ZodString; allocatorBackend: z.ZodLiteral<"native">; allocatedBytes: z.ZodNumber; reservedBytes: z.ZodNumber; currentEpochPeakAllocatedBytes: z.ZodNumber; observedWorkerPeakAllocatedBytes: z.ZodNumber; observedPublicPeakResetCalls: z.ZodNumber; scope: z.ZodLiteral<"process_torch_cuda_allocator_observed_cumulative_peak_including_load_warmup_and_prior_requests">; peakDefinition: z.ZodLiteral<"maximum_before_source_reviewed_public_peak_resets_and_current_snapshot_not_driver_or_per_trial_kernel_peak">; }, z.core.$strict>>; memoryUnavailableReason: z.ZodNullable>; }, z.core.$strict>; export type NolVllmPerformance = z.infer; export declare function verifyNolVllmPerformance(value: unknown, actualTokens: number, expectedGpuUuid?: string): NolVllmPerformance; export declare const NolVllmNativeOutputSchema: z.ZodObject<{ text: z.ZodString; promptTokenIds: z.ZodArray; tokenIds: z.ZodArray; usage: z.ZodObject<{ promptTokens: z.ZodNumber; completionTokens: z.ZodNumber; }, z.core.$strict>; finishReason: z.ZodEnum<{ length: "length"; stop: "stop"; }>; stopReason: z.ZodNullable; native: z.ZodObject<{ binding: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.runtime.v1">; id: z.ZodString; backend: z.ZodEnum<{ other: "other"; gne: "gne"; llama_cpp: "llama_cpp"; transformers: "transformers"; nnsight: "nnsight"; ollama: "ollama"; vllm: "vllm"; }>; modelDigest: z.ZodString; architectureMapDigest: z.ZodString; runtimeBuildDigest: z.ZodString; dependencyLockDigest: z.ZodString; tokenizerDigest: z.ZodString; chatTemplateDigest: z.ZodString; contextLimit: z.ZodNumber; }, z.core.$strict>; source: z.ZodObject<{ workerSha256: z.ZodString; companionSha256: z.ZodString; runtimeSha256: z.ZodString; }, z.core.$strict>; sourcePromptArtifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; renderedSha256: z.ZodString; implementation: z.ZodLiteral<"omnius.nol.vllm-runtime.v1">; requestId: z.ZodString; engineRequestId: z.ZodString; cacheKeyDigest: z.ZodString; recipeDigest: z.ZodNullable; operations: z.ZodArray; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"NEURON_ADD">; neuron: z.ZodNumber; amount: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"NEURON_GAIN">; neuron: z.ZodNumber; factor: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ units: z.ZodEnum<{ raw: "raw"; residual_norm: "residual_norm"; activation_std: "activation_std"; }>; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"NEURON_REPLACE">; neuron: z.ZodNumber; replacement: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"scalar">; value: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"tensor">; tensor: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; }, z.core.$strict> ], "kind">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ units: z.ZodEnum<{ raw: "raw"; residual_norm: "residual_norm"; activation_std: "activation_std"; }>; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"RESIDUAL_ADD">; vector: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; scale: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"DIRECTION_PROJECT">; basis: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; strength: z.ZodNumber; normalization: z.ZodLiteral<"orthonormal">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"ATTENTION_HEAD_GAIN">; head: z.ZodNumber; factor: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"EXPERT_GAIN">; expert: z.ZodNumber; factor: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ units: z.ZodEnum<{ raw: "raw"; residual_norm: "residual_norm"; activation_std: "activation_std"; }>; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"EXPERT_ROUTING_BIAS">; expert: z.ZodNumber; amount: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_ADD">; delta: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"scalar">; value: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"tensor">; tensor: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; }, z.core.$strict> ], "kind">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_GAIN">; gain: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"scalar">; factor: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"axis">; axis: z.ZodNumber; factors: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; }, z.core.$strict> ], "kind">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_REPLACE">; replacement: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_PROJECT">; side: z.ZodEnum<{ left: "left"; right: "right"; }>; basis: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; strength: z.ZodNumber; normalization: z.ZodLiteral<"orthonormal">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"LOW_RANK_UPDATE">; a: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; b: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; rank: z.ZodNumber; alpha: z.ZodNumber; scale: z.ZodNumber; scaling: z.ZodLiteral<"alpha_over_rank">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_MERGE">; sources: z.ZodArray>; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict> ], "operation">>; resetBefore: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-reset.v1">; binding: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.runtime.v1">; id: z.ZodString; backend: z.ZodEnum<{ other: "other"; gne: "gne"; llama_cpp: "llama_cpp"; transformers: "transformers"; nnsight: "nnsight"; ollama: "ollama"; vllm: "vllm"; }>; modelDigest: z.ZodString; architectureMapDigest: z.ZodString; runtimeBuildDigest: z.ZodString; dependencyLockDigest: z.ZodString; tokenizerDigest: z.ZodString; chatTemplateDigest: z.ZodString; contextLimit: z.ZodNumber; }, z.core.$strict>; epoch: z.ZodNumber; hooks: z.ZodLiteral<0>; activeRequests: z.ZodLiteral<0>; nnsightRequests: z.ZodLiteral<0>; prefixCaching: z.ZodLiteral; cacheScope: z.ZodLiteral<"logical_fresh_request_identity">; rawKvErasureClaim: z.ZodLiteral; }, z.core.$strict>; resetAfter: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-reset.v1">; binding: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.runtime.v1">; id: z.ZodString; backend: z.ZodEnum<{ other: "other"; gne: "gne"; llama_cpp: "llama_cpp"; transformers: "transformers"; nnsight: "nnsight"; ollama: "ollama"; vllm: "vllm"; }>; modelDigest: z.ZodString; architectureMapDigest: z.ZodString; runtimeBuildDigest: z.ZodString; dependencyLockDigest: z.ZodString; tokenizerDigest: z.ZodString; chatTemplateDigest: z.ZodString; contextLimit: z.ZodNumber; }, z.core.$strict>; epoch: z.ZodNumber; hooks: z.ZodLiteral<0>; activeRequests: z.ZodLiteral<0>; nnsightRequests: z.ZodLiteral<0>; prefixCaching: z.ZodLiteral; cacheScope: z.ZodLiteral<"logical_fresh_request_identity">; rawKvErasureClaim: z.ZodLiteral; }, z.core.$strict>; usesCache: z.ZodLiteral; cacheScope: z.ZodLiteral<"within_request_only_prefix_disabled">; rawKvErasureClaim: z.ZodLiteral; decoder: z.ZodObject<{ kind: z.ZodLiteral<"pinned_incremental_replay">; implementationSha256: z.ZodString; parameters: z.ZodObject<{ detokenize: z.ZodLiteral; skip_special_tokens: z.ZodLiteral; spaces_between_special_tokens: z.ZodLiteral; include_stop_str_in_output: z.ZodLiteral; ignore_eos: z.ZodLiteral; stop: z.ZodArray; stop_token_ids: z.ZodArray; n: z.ZodLiteral<1>; }, z.core.$strict>; textSha256: z.ZodString; utf8Bytes: z.ZodNumber; }, z.core.$strict>; work: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-work.v1">; requestId: z.ZodString; engineRequestId: z.ZodString; activeRequestId: z.ZodNullable; hooks: z.ZodNumber; observerHooks: z.ZodNumber; nnsightRequests: z.ZodLiteral<0>; registeredBlocks: z.ZodLiteral<0>; operations: z.ZodArray; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"NEURON_ADD">; neuron: z.ZodNumber; amount: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"NEURON_GAIN">; neuron: z.ZodNumber; factor: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ units: z.ZodEnum<{ raw: "raw"; residual_norm: "residual_norm"; activation_std: "activation_std"; }>; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"NEURON_REPLACE">; neuron: z.ZodNumber; replacement: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"scalar">; value: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"tensor">; tensor: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; }, z.core.$strict> ], "kind">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ units: z.ZodEnum<{ raw: "raw"; residual_norm: "residual_norm"; activation_std: "activation_std"; }>; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"RESIDUAL_ADD">; vector: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; scale: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"DIRECTION_PROJECT">; basis: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; strength: z.ZodNumber; normalization: z.ZodLiteral<"orthonormal">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"ATTENTION_HEAD_GAIN">; head: z.ZodNumber; factor: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"EXPERT_GAIN">; expert: z.ZodNumber; factor: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ units: z.ZodEnum<{ raw: "raw"; residual_norm: "residual_norm"; activation_std: "activation_std"; }>; calibrationId: z.ZodOptional; operation: z.ZodLiteral<"EXPERT_ROUTING_BIAS">; expert: z.ZodNumber; amount: z.ZodNumber; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_ADD">; delta: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"scalar">; value: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"tensor">; tensor: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; }, z.core.$strict> ], "kind">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_GAIN">; gain: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"scalar">; factor: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"axis">; axis: z.ZodNumber; factors: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; }, z.core.$strict> ], "kind">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_REPLACE">; replacement: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_PROJECT">; side: z.ZodEnum<{ left: "left"; right: "right"; }>; basis: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; strength: z.ZodNumber; normalization: z.ZodLiteral<"orthonormal">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"LOW_RANK_UPDATE">; a: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; b: z.ZodObject<{ artifact: z.ZodObject<{ uri: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; }, z.core.$strict>; shape: z.ZodArray; dtype: z.ZodEnum<{ f16: "f16"; bf16: "bf16"; f32: "f32"; f64: "f64"; i8: "i8"; i16: "i16"; i32: "i32"; i64: "i64"; u8: "u8"; bool: "bool"; quantized: "quantized"; }>; }, z.core.$strict>; rank: z.ZodNumber; alpha: z.ZodNumber; scale: z.ZodNumber; scaling: z.ZodLiteral<"alpha_over_rank">; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict>, z.ZodObject<{ operation: z.ZodLiteral<"WEIGHT_MERGE">; sources: z.ZodArray>; id: z.ZodString; siteId: z.ZodString; tokenScope: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generated">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"positions">; positions: z.ZodArray; }, z.core.$strict> ], "kind">; }, z.core.$strict> ], "operation">>; forwardPositions: z.ZodNumber; forwards: z.ZodNumber; sampledTokens: z.ZodNumber; sampledTokenIds: z.ZodArray; hookCalls: z.ZodNumber; witnesses: z.ZodNumber; paddedPositions: z.ZodNumber; positions: z.ZodArray; }, z.core.$strict>; performance: z.ZodObject<{ schema: z.ZodLiteral<"omnius.nol.vllm-performance.v1">; statsEnabled: z.ZodLiteral; facts: z.ZodNullable; }, z.core.$strict>>; arrivalClock: z.ZodLiteral<"frontend_wall_time_seconds">; eventClock: z.ZodLiteral<"engine_core_monotonic_seconds">; queueSeconds: z.ZodNullable; prefillSeconds: z.ZodNullable; decodeSeconds: z.ZodNullable; ttftSeconds: z.ZodNullable; engineWallSeconds: z.ZodNumber; engineWallDefinition: z.ZodLiteral<"monotonic_add_request_through_final_synchronous_step_including_observers_excluding_decoder_replay_and_reset">; nativePhaseDefinition: z.ZodLiteral<"vllm_0.27.1_request_state_stats_prefill_and_decode_include_preemptions">; missingTimestampMeaning: z.ZodLiteral<"none_or_zero_native_timestamp_is_unavailable_not_zero_latency">; memory: z.ZodNullable; logicalDevice: z.ZodLiteral<0>; gpuUuid: z.ZodString; allocatorBackend: z.ZodLiteral<"native">; allocatedBytes: z.ZodNumber; reservedBytes: z.ZodNumber; currentEpochPeakAllocatedBytes: z.ZodNumber; observedWorkerPeakAllocatedBytes: z.ZodNumber; observedPublicPeakResetCalls: z.ZodNumber; scope: z.ZodLiteral<"process_torch_cuda_allocator_observed_cumulative_peak_including_load_warmup_and_prior_requests">; peakDefinition: z.ZodLiteral<"maximum_before_source_reviewed_public_peak_resets_and_current_snapshot_not_driver_or_per_trial_kernel_peak">; }, z.core.$strict>>; memoryUnavailableReason: z.ZodNullable>; }, z.core.$strict>; engineSteps: z.ZodNumber; nativeConformance: z.ZodLiteral<"unverified">; capabilityAuthority: z.ZodLiteral<"none">; }, z.core.$strict>; }, z.core.$strict>; export type NolVllmNativeOutput = z.infer; export declare function verifyNolVllmNativeOutput(value: unknown, expected: { binding: NolRuntimeBinding; source: NolVllmSource; tokenization: NolVllmTokenization; reset: NolVllmReset; recipe: NolRecipeRevision | null; cacheKeyDigest: string; maxTokens: number; decoderSha256: string; limits: NolVllmRuntimeLimits; captureSiteId?: string; gpuUuid?: string; }): NolVllmNativeOutput; export {};