import type { SpansClient } from "../clients/spans.js"; import type { Hooks } from "./types.js"; /** * Merge two Hooks objects so both run for each event. * Hooks from `a` fire first, then `b`. Returns `undefined` if both are undefined. */ export declare function mergeHooks(a?: Hooks, b?: Hooks): Hooks | undefined; /** * Create hooks that manage tool-level child spans. * * Reads the current ALS trace context (set by TracedAgent) to determine * parent span and trace IDs. If no context is active, hooks are no-ops. */ export declare function createToolTracingHooks(spansClient: SpansClient): Hooks;