import type { InstrumentationHooks, InstrumentationParentLineage, InstrumentationTraceContext } from "#harness/instrumentation-lifecycle.js"; import type { HandleEventFn } from "#harness/types.js"; export interface CreateInstrumentationHandleEventInput { readonly agentName?: string; readonly handleEvent?: HandleEventFn; readonly hooks?: InstrumentationHooks; readonly parentLineage?: InstrumentationParentLineage; readonly parentTraceContext?: InstrumentationTraceContext; readonly rootSessionId?: string; readonly sessionId: string; readonly turnId?: string; } /** Publishes eve-native lifecycle transitions after durable event acceptance. */ export declare function createInstrumentationHandleEvent(input: CreateInstrumentationHandleEventInput): HandleEventFn | undefined;