UNPKG

@birhaus/test-utils

Version:

BIRHAUS Testing & Validation Framework - Comprehensive testing utilities for cognitive load, accessibility, and BIRHAUS principle compliance

24 lines (22 loc) 671 B
/** * BIRHAUS Performance Testing * * Bundle size and runtime performance monitoring utilities */ interface PerformanceMetrics { bundleSize: number; renderTime: number; memoryUsage: number; cognitiveLoadScore: number; } interface PerformanceTestOptions { maxBundleSize?: number; maxRenderTime?: number; maxMemoryUsage?: number; } declare class PerformanceValidator { constructor(_options?: PerformanceTestOptions); measurePerformance(): Promise<PerformanceMetrics>; } declare function expectPerformanceBudget(): void; export { type PerformanceMetrics, type PerformanceTestOptions, PerformanceValidator, expectPerformanceBudget };