import type { InstrumentationContextRunner, InstrumentationHooks } from "#harness/instrumentation-lifecycle.js"; /** Process-wide runtime consumed by every harness execution surface. */ export interface InstrumentationRuntime { readonly forceFlush: () => Promise; readonly hooks: InstrumentationHooks; readonly runInContext: InstrumentationContextRunner; } /** Instrumentation capabilities consumed inside one harness execution. */ export type HarnessInstrumentation = Pick; /** Registers the process instrumentation runtime before agent execution begins. */ export declare function registerInstrumentationRuntime(runtime: InstrumentationRuntime): InstrumentationRuntime; /** Returns the process instrumentation runtime, when one was installed. */ export declare function getInstrumentationRuntime(): InstrumentationRuntime | undefined;