export { AutoFixResult, ConfigValidationIssue, SafeConfigResult, analyzeValidationError, applyAutoFixes, autoFixConfigFile, hasConfig, loadConfig, loadConfigSafe, writeFixedConfig } from './config/index.js'; export { BrokenReference, DocumentReference, DocumentValidationResult, ValidationResult, applyReferenceFix, discoverCustomScopes, findSimilarFiles, getAllScopes, invalidateCustomScopesCache, scanDocumentReferences, validateBranchName, validateCommitMessage, validateDocumentReferences, validatePRTitle } from './validators/index.js'; export { B as BranchType, C as ConventionalType, S as Scope, W as WorkflowConfig, a as WorkflowConfigSchema } from './schema-Dreip6eZ.js'; import 'zod'; type PackageManager = "npm" | "pnpm" | "yarn" | "bun"; interface ProjectAnalysis { packageManager: PackageManager; isMonorepo: boolean; isTypeScript: boolean; framework: FrameworkType; existing: ExistingConfigs; scripts: ExistingScripts; setupPlans: SetupPlan[]; } interface ExistingConfigs { typescript: boolean; eslint: boolean; eslintFlat: boolean; prettier: boolean; vitest: boolean; jest: boolean; husky: boolean; simpleGitHooks: boolean; githubActions: boolean; } interface ExistingScripts { build: boolean; test: boolean; lint: boolean; format: boolean; typecheck: boolean; verify: boolean; } interface SetupPlan { name: string; description: string; priority: "high" | "medium" | "low"; changes: ConfigChange[]; dependencies: string[]; devDependencies: string[]; } interface ConfigChange { type: "add" | "modify" | "unchanged"; file: string; key?: string; oldValue?: unknown; newValue?: unknown; description: string; } interface SetupResult { success: boolean; name: string; message: string; filesCreated: string[]; filesUpdated: string[]; packagesInstalled: string[]; } interface AuditReport { analysis: ProjectAnalysis; totalChanges: number; allDependencies: string[]; allDevDependencies: string[]; plans: SetupPlan[]; } type FrameworkType = "nextjs" | "remix" | "react" | "vue" | "nuxt" | "svelte" | "node" | "express" | "hono" | "shopify-theme" | "shopify-hydrogen" | "wordpress" | "magento" | "woocommerce" | "unknown"; interface PlatformDetectionResult { primary: FrameworkType; detected: FrameworkType[]; } declare function analyzeProject(projectPath?: string): Promise; declare function detectAllPlatforms(projectPath: string): Promise; declare function generateAuditReport(projectPath?: string): Promise; declare function formatAuditReport(report: AuditReport): string; declare function runAllSetups(projectPath?: string, onProgress?: (step: string, status: "start" | "done" | "error") => void): Promise; interface CheckDefinition { name: string; displayName: string; command: string; args: string[]; fixCommand?: string; fixArgs?: string[]; canAutoFix: boolean; requiredScript?: string; fallbackCommand?: string[]; } interface CheckResult { check: CheckDefinition; success: boolean; output: string; error?: string; duration: number; skipped?: boolean; skipReason?: string; } interface AppliedFix { checkName: string; displayName: string; command: string; timestamp: Date; } interface RunAllChecksResult { success: boolean; results: CheckResult[]; totalAttempts: number; fixesApplied: number; appliedFixes: AppliedFix[]; pendingFixes?: Array<{ check: CheckDefinition; command: string; }>; } type ProgressType = "info" | "success" | "error" | "warning"; interface CheckRunnerOptions { maxRetries?: number; autoFix?: boolean; dryRun?: boolean; onProgress?: (message: string, type: ProgressType) => void; includePlatformChecks?: boolean; } declare const QUALITY_CHECKS: CheckDefinition[]; type PlatformType = "shopify-theme" | "shopify-hydrogen" | "wordpress" | "magento" | "woocommerce"; interface PlatformCLIConfig { cli: string; install: string; requiresComposer: boolean; displayName: string; } interface PlatformCheckDefinition extends CheckDefinition { platform: PlatformType; } declare const PLATFORM_CLI_INSTALL: Record; declare const PLATFORM_CHECKS: PlatformCheckDefinition[]; declare function getAvailableScripts(cwd: string): Set; declare function getApplicableChecks(cwd: string): Promise; declare function ensureComposer(): Promise; declare function promptPlatformChoice(detected: FrameworkType[]): Promise; declare function ensurePlatformCLI(platform: PlatformType): Promise; declare function getPlatformChecks(cwd: string): Promise; declare const SKIPPABLE_ERROR_PATTERNS: Array<{ pattern: RegExp; reason: string; }>; declare function isSkippableError(output: string): string | undefined; declare function runCheck(check: CheckDefinition, cwd: string): Promise; declare function applyFix(check: CheckDefinition, cwd: string): Promise<{ success: boolean; output: string; skipped?: boolean; skipReason?: string; }>; declare function runAllChecks(cwd: string, options?: CheckRunnerOptions): Promise; declare function hasUncommittedChanges(cwd: string): Promise; declare function stageAllChanges(cwd: string): Promise; export { type AppliedFix, type AuditReport, type CheckDefinition, type CheckResult, type CheckRunnerOptions, type ConfigChange, type ExistingConfigs, type ExistingScripts, type FrameworkType, PLATFORM_CHECKS, PLATFORM_CLI_INSTALL, type PlatformCLIConfig, type PlatformCheckDefinition, type PlatformDetectionResult, type PlatformType, type ProgressType, type ProjectAnalysis, QUALITY_CHECKS, type RunAllChecksResult, SKIPPABLE_ERROR_PATTERNS, type SetupPlan, type SetupResult, analyzeProject, applyFix, detectAllPlatforms, ensureComposer, ensurePlatformCLI, formatAuditReport, generateAuditReport, getApplicableChecks, getAvailableScripts, getPlatformChecks, hasUncommittedChanges, isSkippableError, promptPlatformChoice, runAllChecks, runAllSetups, runCheck, stageAllChanges };