export { C as CacheIssue, a as CategoryScores, b as CoreWebVitals, D as DetailedInsights, c as Diagnostic, d as DiagnosticDetailItem, e as DiagnosticItem, E as EnhancedLCPElement, I as ImageIssue, L as LCPBreakdown, f as LCPElement, g as LCPRecommendation, h as LegacyJSIssue, i as LongTask, j as MetricRating, M as MetricValue, O as Opportunity, P as PerformanceResult, R as RenderBlockingResource, T as ThirdPartyIssue, U as UnusedCodeIssue } from '../index-DuWc-W-w.js'; import { S as Strategy, C as Category } from '../index-CBmIhSX_.js'; export { A as AuditDetails, f as CrUXMetric, L as LighthouseAudit, a as LighthouseCategories, b as LighthouseCategory, c as LighthouseResult, d as LoadingExperience, P as PageSpeedOptions, e as PageSpeedResponse } from '../index-CBmIhSX_.js'; import { P as PerformanceThresholds } from '../index-E8nKfSHH.js'; export { L as LHCIAssertions, a as LHCIConfig, b as LHCIMethod, c as LHCIOptions, d as ProjectConfig, T as ToolkitConfig } from '../index-E8nKfSHH.js'; export { F as FrameworkInfo, a as FrameworkSpecificNote, P as ProjectContext } from '../index-CFm-GmeT.js'; export { A as ActionStep, a as ActionableReport, K as KeyOpportunity, N as NextStep } from '../index-Cuv4JW0-.js'; export { B as BundleAnalysisResult, a as BundleAnalyzerOptions, b as BundleSummary, C as ChunkInfo, D as DependencyInfo } from '../index-CZXROEPj.js'; export { E as ExportAnalysisResult, a as ExportAnalysisSummary, b as ExportAnalyzerOptions, c as ExportIssue, d as ExportRecommendation, e as ExportType, F as FileExportInfo, N as NextConfigAnalysis, R as ReExportType } from '../index-BVI0gPRI.js'; /** * @silverassist/performance-toolkit * * CLI options and result type definitions. * * @module types/cli * @author Miguel Colmenares * @license PolyForm-Noncommercial-1.0.0 */ /** * CLI command options */ interface CLIOptions { /** URL to analyze */ url: string; /** Analysis strategy */ strategy: Strategy; /** Categories to analyze */ categories: Category[]; /** Performance thresholds for pass/fail */ thresholds: PerformanceThresholds; /** Output format */ format: "json" | "text" | "html"; /** Output file path */ output?: string; /** Verbose output */ verbose: boolean; /** Include detailed insights */ includeInsights: boolean; /** Include raw API response */ includeRaw: boolean; } /** * Threshold violation details */ interface ThresholdViolation { /** Metric name */ metric: string; /** Current value */ current: number; /** Threshold value */ threshold: number; /** How much over threshold */ difference: number; /** Severity level */ severity: "critical" | "warning"; /** Human-readable message */ message: string; } /** * CLI execution result */ interface CLIResult { /** Whether analysis passed all thresholds */ success: boolean; /** Exit code (0 = success, 1 = threshold violation, 2 = error) */ exitCode: number; /** URL analyzed */ url: string; /** Strategy used */ strategy: Strategy; /** Performance score (0-100) */ performanceScore: number; /** Any threshold violations */ violations: ThresholdViolation[]; /** Summary message */ message: string; /** Execution duration in ms */ duration: number; /** Timestamp */ timestamp: string; } export { type CLIOptions, type CLIResult, Category, PerformanceThresholds, Strategy, type ThresholdViolation };