import { type NolArtifactRef } from "../_types/schemas/nol.js"; import type { MediaCapability } from "../_types/execution/av/media-capability.js"; import { type AgenticResult } from "../_types/orchestrator/agenticRunner.js"; import { NolGneToolTransport, NOL_GNE_TOOLS_DECODER, type NolGneToolTransportOptions } from "./gne-tools-transport.js"; export interface NolGneAgentEvaluationInput { outputDirectory: string; mode: "cpu_scripted_native_channel" | "native_gne_engineering"; /** Freeze the same nonce for all comparison arms. Default is a fresh single-run fixture. */ fixtureNonce?: string; maxDurationMs: number; transport: NolGneToolTransportOptions; /** Host-owned physical lifetime, including process-group retirement and broker * release verification. This callback is always invoked, including failure. */ settle(input: { reason: string; }): Promise<{ physicallySettled: boolean; proofArtifact?: NolArtifactRef; }>; verifySettlementArtifact(artifact: NolArtifactRef): Promise; maxEvidenceBytes: number; settlementTimeoutMs?: number; /** Actual host data copied into an existing private runner cache. It changes * neither the clock nor raw requests/history and is not a tool argument. */ hostContextSnapshot?: { mediaCapability: MediaCapability; artifact: NolArtifactRef; verifyArtifact(artifact: NolArtifactRef): Promise; }; runnerToolIdNamespace?: string; } export interface NolGneAgentEvaluationReport { schema: "omnius.nol.gne-agent-evaluation-result.v1"; runId: string; directory: string; mode: NolGneAgentEvaluationInput["mode"]; backend: "gne"; decoder: typeof NOL_GNE_TOOLS_DECODER; modelDigest: string; runtimeBuildDigest: string; workerSha256: string; recipeDigest: string | null; status: "passed" | "failed" | "cancelled"; failure?: string; /** Bounded host observations, never model text or task-completion authority. */ diagnostics: Array<{ source: "backend_callback" | "runner_error" | "runner_failed" | "evaluation"; message: string; name?: string; code?: string; cause?: string; stack?: string; logicalRequestId?: string; turn?: number; auxiliary?: boolean; }>; diagnosticsDropped: number; backendCallbacks: { entered: number; primary: number; auxiliary: number; returned: number; failed: number; }; executions: Array>; checks: Record; result?: Pick; acceptedFinalReply?: string; transportReceipts: NolGneToolTransport["receipts"]; usage: NolGneToolTransport["usage"]; cleanup: { physicallySettled: boolean; proofArtifact?: NolArtifactRef; failure?: string; }; neuralCapabilityClaim: false; editedAgentImprovementClaim: false; scientificAcceptance: false; hostContextArtifact?: NolArtifactRef; } /** Real AgenticRunner, fixed private filesystem and native typed channel. No * endpoint, worker construction, model selection or CUDA operation is hidden * here. The trusted host supplies the already-owned worker and its settlement. */ export declare function evaluateNolGneAgent(input: NolGneAgentEvaluationInput): Promise;