import { W as WorkflowConfig } from '../schema-Dreip6eZ.js'; export { B as BranchType, C as ConventionalType, S as Scope, a as WorkflowConfigSchema } from '../schema-Dreip6eZ.js'; import { z } from 'zod'; interface ConfigValidationIssue { path: string; code: string; message: string; currentValue?: unknown; suggestedFix?: { description: string; newValue: unknown; }; } interface AutoFixResult { fixed: boolean; changes: string[]; newConfig: unknown; } declare function analyzeValidationError(error: z.ZodError, rawConfig: unknown): ConfigValidationIssue[]; declare function applyAutoFixes(rawConfig: unknown, issues: ConfigValidationIssue[]): AutoFixResult; declare function writeFixedConfig(configPath: string, config: unknown): Promise; declare function autoFixConfigFile(cwd?: string): Promise<{ success: boolean; configPath: string | null; changes: string[]; error?: string; }>; declare function loadConfig(cwd?: string): Promise; interface SafeConfigResult { config: WorkflowConfig | null; rawConfig: unknown; configPath: string | null; issues: Array<{ path: string; code: string; message: string; currentValue?: unknown; suggestedFix?: { description: string; newValue: unknown; }; }>; valid: boolean; } declare function loadConfigSafe(cwd?: string): Promise; declare function hasConfig(cwd?: string): boolean; export { type AutoFixResult, type ConfigValidationIssue, type SafeConfigResult, WorkflowConfig, analyzeValidationError, applyAutoFixes, autoFixConfigFile, hasConfig, loadConfig, loadConfigSafe, writeFixedConfig };