import type { GoalScope } from '@dsh-enhanced/assistant-goals'; import type { SkillDefinition } from './definition.js'; import type { SkillDelegatedArmBinding, StoredSkillDefinition } from './store.js'; /** Host discovery is not an import or execution authority. */ export interface BenchmarkArmSelection { readonly scope: GoalScope; readonly ownerRouteId: string; readonly skillName: string; readonly version: number; readonly candidateId?: string; } export interface BenchmarkArmSnapshot { readonly definition: SkillDefinition; readonly definitionDigest: string; readonly sourceDigest: string; readonly version: number; readonly expiresAt: number; } /** Opaque, process-local, single-recipient authority; JSON copies are invalid. */ export interface BenchmarkArmCapability { readonly protocol: 'assistant-skills/benchmark-capability/v1'; } export interface BenchmarkArmMount { readonly binding: SkillDelegatedArmBinding; readonly bindingDigest: string; readonly skill: { readonly name: string; readonly version: number; readonly inputs: SkillDefinition['inputs']; }; dispose(): void; } export declare function benchmarkArmDefinition(value: SkillDefinition): SkillDefinition; export interface LiveBenchmarkArm { readonly binding: SkillDelegatedArmBinding; readonly bindingDigest: string; readonly skill: StoredSkillDefinition; readonly scope: GoalScope; readonly signal: AbortSignal; revoke(): void; assertCurrent(): void; refresh(signal: AbortSignal): Promise; } export declare function sameBenchmarkArm(left: BenchmarkArmSnapshot, right: BenchmarkArmSnapshot): boolean; /** Bound waiting and suppress late results; abort is not proof that external work stopped. */ export declare function awaitBenchmarkSignal(work: Promise, signal: AbortSignal): Promise; //# sourceMappingURL=delegated-arm.d.ts.map