/**
 * Hook Context
 *
 * 钩子执行上下文，提供钩子间的通信和控制能力
 */
import { HookContext } from './hookTypes';
/**
 * 创建钩子执行上下文
 */
export declare function createHookContext(sessionId: string, traceId: string, phase?: string): HookContext;
/**
 * 从现有上下文创建子上下文 (继承元数据)
 */
export declare function deriveHookContext(parent: HookContext, overrides?: Partial<Pick<HookContext, 'sessionId' | 'traceId' | 'phase'>>): HookContext;
/**
 * 合并多个上下文的元数据
 */
export declare function mergeContextMetadata(target: HookContext, ...sources: HookContext[]): void;
//# sourceMappingURL=hookContext.d.ts.map