/** * Shared Validation Workflow * * Core validation logic used by both validate and pre-commit commands. * Handles caching, history recording, and output formatting. */ import type { VibeValidateConfig } from '@vibe-validate/config'; import type { ValidationResult } from '@vibe-validate/core'; import { type TreeHashResult } from '@vibe-validate/git'; import type { AgentContext } from './context-detector.js'; export interface ValidateWorkflowOptions { force?: boolean; verbose?: boolean; yaml?: boolean; check?: boolean; debug?: boolean; retryFailed?: boolean; context: AgentContext; /** Pre-computed tree hash from lock wrapper (avoids redundant computation) */ treeHashResult?: TreeHashResult; } /** * Execute validation workflow with caching, history recording, and output formatting. * * This is the shared implementation used by both `validate` and `pre-commit` commands. * * @param config - Loaded vibe-validate configuration * @param options - Validation options (force, verbose, yaml, check, context) * @returns Validation result * @throws Error if validation encounters fatal error */ export declare function runValidateWorkflow(config: VibeValidateConfig, options: ValidateWorkflowOptions): Promise; //# sourceMappingURL=validate-workflow.d.ts.map