/**
 * Hook Executor
 *
 * Executes hooks in isolated environment and validates results.
 * Detects import errors, runtime errors, timeouts, and performance issues.
 *
 * Part of increment 0037: Hook Health Check System
 */
import { HookDefinition, HookExecutionResult, ExecutorConfig, ImportErrorDetails } from './types.js';
/**
 * Hook Executor - Validates hook execution
 */
export declare class HookExecutor {
    private config;
    constructor(config: ExecutorConfig);
    /**
     * Execute hook and capture result
     */
    executeHook(hook: HookDefinition): Promise<HookExecutionResult>;
    /**
     * Run hook as child process
     */
    private runHookProcess;
    /**
     * Get command to execute hook
     */
    private getHookCommand;
    /**
     * Get arguments for hook execution
     */
    private getHookArgs;
    /**
     * Detect errors in hook execution
     */
    private detectErrors;
    /**
     * Parse import error from stderr
     */
    private parseImportError;
    /**
     * Detect warnings in hook execution
     */
    private detectWarnings;
    /**
     * Check if hook has performance issues (>2x expected duration)
     */
    private checkPerformance;
    /**
     * Extract import error details for auto-fixing
     */
    extractImportErrorDetails(stderr: string, hookPath: string): ImportErrorDetails | null;
    /**
     * Create default executor config
     */
    static createDefaultConfig(): ExecutorConfig;
}
//# sourceMappingURL=HookExecutor.d.ts.map