/**
 * Production Mode Monitoring and Analysis
 *
 * Development tools for monitoring production optimization effectiveness,
 * performance tracking, and bundle analysis.
 *
 * Moved from @tachui/core for proper separation of dev vs production concerns.
 */
/**
 * Enhanced production configuration with debugging
 */
export interface EnhancedProductionConfig {
    enabled: boolean;
    mode: 'development' | 'production' | 'test';
    optimizationLevel: 'none' | 'basic' | 'aggressive';
    debugInfo: boolean;
}
/**
 * Performance statistics for production optimization
 */
interface PerformanceStats {
    bypassCount: number;
    performanceGain: number;
    averageOverhead: number;
    slowValidations: Array<{
        component: string;
        time: number;
    }>;
}
/**
 * Bundle analysis report
 */
interface BundleOptimizationReport {
    validationCodeSize: number;
    performanceGain: number;
    optimization: string;
    recommendations: string[];
}
/**
 * Production monitoring and analysis
 */
export declare class ProductionMonitor {
    private static instance;
    private bypassCount;
    private performanceGain;
    private validationTimes;
    private slowValidations;
    static getInstance(): ProductionMonitor;
    /**
     * Record a validation bypass for performance tracking
     */
    recordBypass(timesSaved: number): void;
    /**
     * Record validation performance
     */
    recordValidationTime(componentType: string, duration: number): void;
    /**
     * Get performance statistics
     */
    getStats(): PerformanceStats;
    /**
     * Reset monitoring statistics
     */
    reset(): void;
    /**
     * Generate optimization recommendations
     */
    getRecommendations(): string[];
}
/**
 * Bundle size analysis
 */
export declare class BundleAnalysis {
    /**
     * Estimate validation code size in bundle
     */
    static getValidationCodeSize(): number;
    /**
     * Generate optimization report
     */
    static getOptimizationReport(): BundleOptimizationReport;
}
/**
 * Development-only assertion macro with detailed reporting
 */
export declare function devAssert(condition: boolean, message: string, context?: any): void;
/**
 * Development-only warning macro with enhanced reporting
 */
export declare function devWarn(condition: boolean, message: string, context?: any): void;
/**
 * Enhanced performance monitoring wrapper
 */
export declare function withPerformanceMonitoring<T extends (...args: any[]) => any>(fn: T, name: string, options?: {
    threshold?: number;
    logSlow?: boolean;
    trackStats?: boolean;
}): T;
/**
 * Component validation wrapper with performance monitoring
 */
export declare function withMonitoredValidation<T extends (...args: any[]) => any>(originalConstructor: T, componentType: string, validator?: (args: unknown[]) => void): T;
/**
 * Development build constants (for tree-shaking)
 */
export declare const DevConstants: {
    __DEVELOPMENT_ONLY__: boolean;
    __TACHUI_VERSION__: string;
    defineGlobals: {
        __TACHUI_PRODUCTION_MODE__: boolean;
        __TACHUI_DEBUG_INFO__: boolean;
    };
};
/**
 * Production optimization utilities with monitoring
 */
export declare const ProductionOptimizationUtils: {
    /**
     * Get detailed performance statistics
     */
    getDetailedStats: () => {
        recommendations: string[];
        bundleReport: BundleOptimizationReport;
        bypassCount: number;
        performanceGain: number;
        averageOverhead: number;
        slowValidations: Array<{
            component: string;
            time: number;
        }>;
    };
    /**
     * Reset monitoring data
     */
    resetStats: () => void;
    /**
     * Get bundle optimization report
     */
    getBundleReport: typeof BundleAnalysis.getOptimizationReport;
    /**
     * Test production optimization with detailed reporting
     */
    test(): void;
    /**
     * Start continuous monitoring
     */
    startMonitoring(intervalMs?: number): () => void;
};
export {};
//# sourceMappingURL=production-monitoring.d.ts.map