/** * sync-health command * * Standalone health check for configured external integrations. * Validates credentials, permissions, and project access for GitHub, JIRA, and ADO. * * Exit codes: * 0 - All checks pass * 1 - One or more checks failed * 2 - No providers configured * * @module cli/commands/sync-health */ import { formatHealthCheckResults as formatResults, type HealthCheckResult } from '../../sync/integration-health-check.js'; export interface SyncHealthOptions { /** Output results as JSON */ json?: boolean; /** Check only a specific provider */ provider?: 'github' | 'jira' | 'ado'; } /** * Determine which providers are enabled from config */ export declare function getEnabledProviders(config: any): Array<'github' | 'jira' | 'ado'>; /** * Run health checks for all enabled providers based on config. * Shared between `specweave sync setup` (post-setup) and `specweave sync status` (on-demand). */ export declare function runHealthChecksForConfig(config: any, projectPath: string): Promise; /** * Re-export formatHealthCheckResults for sync-setup import */ export { formatResults as formatHealthCheckResults }; /** * Run the sync-health command. */ export declare function syncHealthCommand(options?: SyncHealthOptions): Promise; //# sourceMappingURL=sync-health.d.ts.map