
import { Project } from "ts-morph";

//#region src/purger/optimized/types.d.ts
/**
 * Statistics from a purge operation
 */
interface PurgeStats {
  /** Number of files scanned */
  filesScanned: number;
  /** Time taken in milliseconds */
  timeMs: number;
  /** Number of CSS classes generated */
  classesGenerated: number;
  /** Number of spread operators traced */
  spreadsTraced: number;
  /** Number of expressions resolved */
  expressionsResolved: number;
  /** Time to create ts-morph Project + parse source (ms) */
  projectCreateMs?: number;
  /** Time to parse import declarations (ms) */
  importParseMs?: number;
  /** Time to extract getStyles() calls (ms) */
  getStylesExtractMs?: number;
  /** Time for JSX reference finding + prop extraction (ms) */
  jsxAnalysisMs?: number;
  /** Time to generate safelist from component data (ms) */
  safelistGenerationMs?: number;
}
//#endregion
export { PurgeStats };
//# sourceMappingURL=types.d.ts.map