/** * Remote Execution — target registry (2.14.0). * * A small durable catalog of concrete remote targets. It is NOT a mission store, * NOT an assignment store, and NOT a scheduler: it only records where execution * can physically happen. Target selection remains explicit/static until * Capability Routing. */ import type { RemoteExecutionTarget, RemoteTargetHealth } from "./remote-target-types.js"; import type { RemoteExecutionTransport } from "./remote-transport.js"; export type RemoteTargetLoadResult = { status: "ok"; target: RemoteExecutionTarget; } | { status: "missing"; } | { status: "corrupt"; targetId: string; diagnostic: string; }; export type RemoteTargetRegisterResult = { status: "created"; } | { status: "idempotent"; target: RemoteExecutionTarget; } | { status: "conflict"; error: string; }; export interface RemoteTargetStore { readonly storeId: string; register(target: RemoteExecutionTarget): Promise; load(targetId: string): Promise; listTargets(): Promise; remove(targetId: string): Promise; } export interface RemoteTargetRegistryOptions { store: RemoteTargetStore; /** Transport used for health probes (optional). */ transport?: RemoteExecutionTransport; } export interface RemoteTargetListResult { entries: RemoteExecutionTarget[]; corrupt: { targetId: string; diagnostic: string; }[]; } export declare class RemoteTargetRegistry { private readonly _store; private readonly _transport?; constructor(options: RemoteTargetRegistryOptions); get store(): RemoteTargetStore; register(target: RemoteExecutionTarget): Promise; get(targetId: string): Promise; list(): Promise; remove(targetId: string): Promise; /** Non-mutating reachability probe, surfacing structured health. */ probe(targetId: string): Promise; } //# sourceMappingURL=remote-target-registry.d.ts.map