/** * Hook Configuration Merger * * Merges global and agent-specific hook configurations */ import type { HooksConfig } from "@/types/hooks.js"; /** * Merge global and agent-specific hooks configurations * * Both global and agent hooks are executed. Hooks from both sources are concatenated * for each event type. No deduplication is performed - if the same hook is defined * in both places, it will run twice. * * @param globalHooks - Hooks from wingman.config.json * @param agentHooks - Hooks from agent.json * @returns Merged hooks configuration */ export declare function mergeHooks(globalHooks: HooksConfig | undefined, agentHooks: HooksConfig | undefined): HooksConfig | undefined;