/** * Hook Execution Services * * Provides hook command execution functionality and hook-specific configuration loading. * This module focuses on hook execution while delegating general Wave configuration * management to ConfigurationService. */ import { type HookExecutionContext, type HookExecutionResult, type HookExecutionOptions, type ExtendedHookExecutionContext } from "../types/hooks.js"; /** * Execute a single hook command */ export declare function executeCommand(command: string, context: HookExecutionContext | ExtendedHookExecutionContext, options?: HookExecutionOptions): Promise; /** * Execute multiple commands in sequence */ export declare function executeCommands(commands: string[], context: HookExecutionContext | ExtendedHookExecutionContext, options?: HookExecutionOptions): Promise; /** * Execute a CwdChanged hook */ export declare function executeCwdChangedHooks(oldCwd: string, newCwd: string, context: ExtendedHookExecutionContext): Promise; /** * Validate command safety (basic checks) */ export declare function isCommandSafe(command: string): boolean;