import type { WorkflowStatus } from "./types.js"; import type { HealthCheckReport } from "./health-checks.js"; import type { TelemetryRedactionReport } from "./telemetry-redaction.js"; export interface SupportDiagnosticsOptions { root?: string; output?: string; now?: Date; } export interface SupportDiagnosticsResult { artifact: string; report: SupportDiagnosticsReport; } export interface SupportDiagnosticsReport { generatedAt: string; workspaceRoot: string; health: Pick; validation: { valid: boolean; errors: string[]; warnings: string[]; }; status: WorkflowStatus; config: unknown; runs: { total: number; active: number; failed: number; canceled: number; recentFailures: SupportDiagnosticsRunFailure[]; }; workflow: { tasks: number; locks: number; reviews: number; evidence: number; blockers: number; eventCount: number; }; redaction: TelemetryRedactionReport; } export interface SupportDiagnosticsRunFailure { id: string; taskId: string; status: string; updatedAt: string; failedPhase?: string; notes?: string; } export declare function generateSupportDiagnosticsBundle(options?: SupportDiagnosticsOptions): Promise;