/** * Executor Runtime Registration (2.10.0). * * Minimal production-worthy helper that proves the runtime lifecycle * (activate / heartbeat / deactivate) without implementing the full worker * daemon. It collects only lightweight, safe local metadata and resource * observations; it never polls missions and never reserves resources. */ import type { ExecutorControlService } from "./executor-control-service.js"; import type { ActivateExecutorInput, ExecutorActivationOutcome, ExecutorCapabilities, ExecutorDeactivateOutcome, ExecutorHeartbeatOutcome, ExecutorRecord, ExecutorResourceSnapshot, ExecutorRuntimeProof } from "./executor-registry-types.js"; /** Diagnostics-only local runtime metadata. Identity is `runtimeInstanceId`. */ export interface LocalRuntimeMetadata { hostname: string; pid: number; platform: string; arch: string; processStartedAtMs: number; jensenVersion: string; } export declare function collectLocalRuntimeMetadata(): LocalRuntimeMetadata; /** Lightweight, non-authoritative resource observation at time T. */ export declare function collectResourceSnapshot(now?: number): ExecutorResourceSnapshot; export interface ExecutorRuntimeRegistrationOptions { /** Expiry window for each heartbeat (default from service). */ expiryMs?: number; } export declare class ExecutorRuntimeRegistration { private readonly _service; private readonly _executorId; private readonly _expiryMs?; private _proof?; constructor(service: ExecutorControlService, executorId: string, options?: ExecutorRuntimeRegistrationOptions); get proof(): ExecutorRuntimeProof | undefined; get runtimeInstanceId(): string | undefined; get runtimeEpoch(): number | undefined; activate(input?: Partial> & { advertisedCapabilities?: ExecutorCapabilities; }): Promise; heartbeat(input?: { resources?: ExecutorResourceSnapshot; advertisedCapabilities?: ExecutorCapabilities; }): Promise; updateCapabilities(capabilities: ExecutorCapabilities): Promise; deactivate(): Promise; private _requireProof; } //# sourceMappingURL=runtime-harness.d.ts.map