/** * Safety Validator - Pre-flight validation checks * * Performs comprehensive safety checks before starting an exploration */ import type { GitState, ResourceAvailability, SafetyValidation } from '../types/exploration.types.js'; export interface SafetyValidatorConfig { check_docker?: boolean; min_disk_space_gb?: number; min_memory_gb_per_branch?: number; require_clean_tree?: boolean; require_updated_main?: boolean; } export declare class SafetyValidator { private config; private repoRoot; constructor(repoRoot?: string, config?: SafetyValidatorConfig); /** * Build configuration with defaults */ private buildConfig; /** * Run all safety validations */ validate(branches?: number): Promise; /** * Run a safety check with error handling */ private runSafetyCheck; /** * Check git repository state */ private checkGitState; /** * Check Docker availability */ private checkDockerAvailability; /** * Check resource availability */ private checkResourceAvailability; /** * Check available disk space */ private checkDiskSpace; /** * Get git repository state */ getGitState(): Promise; /** * Get resource availability */ getResourceAvailability(): Promise; /** * Parse worktree paths from git worktree list output */ private parseWorktreePaths; } //# sourceMappingURL=safety-validator.d.ts.map