import React from "react"; /** * Production utilities for AuraGlass components * These utilities are optimized for production environments */ export declare const isProduction: () => boolean; export declare const isDevelopment: () => boolean; export declare const isTest: () => boolean; export declare const logger: { error: (message: string, ...args: unknown[]) => void; warn: (message: string, ...args: unknown[]) => void; info: (message: string, ...args: unknown[]) => void; debug: (message: string, ...args: unknown[]) => void; }; export declare const performance: { measure: (name: string, fn: () => void) => number; measureAsync: (name: string, fn: () => Promise) => Promise; }; export declare const safeExecute: (fn: () => T, fallback: T, errorMessage?: string) => T; export declare const safeExecuteAsync: (fn: () => Promise, fallback: T, errorMessage?: string) => Promise; export declare const features: { supportsIntersectionObserver: () => boolean; supportsResizeObserver: () => boolean; supportsBackdropFilter: () => boolean; supportsWebGL: () => boolean; supportsWebP: () => boolean; supportsAVIF: () => boolean; supportsContainerQueries: () => boolean; }; export declare const memory: { cleanup: (refs: React.RefObject[]) => void; debounce: void>(func: T, wait: number) => T; throttle: void>(func: T, limit: number) => T; }; export declare const validate: { isValidHexColor: (color: string) => boolean; isValidRgbaColor: (color: string) => boolean; isValidCSSUnit: (value: string) => boolean; isValidEmail: (email: string) => boolean; isValidUrl: (url: string) => boolean; }; export declare const data: { generateId: (prefix?: string) => string; deepClone: (obj: T) => T; isEqual: (a: unknown, b: unknown) => boolean; omit: , K extends keyof T>(obj: T, keys: K[]) => Omit; pick: , K extends keyof T>(obj: T, keys: K[]) => Pick; }; export declare const css: { classNames: (...classes: (string | undefined | null | false)[]) => string; mergeStyles: (...styles: (React.CSSProperties | undefined)[]) => React.CSSProperties; pxToRem: (px: number, baseFontSize?: number) => string; hexToRgba: (hex: string, alpha: number) => string; }; export declare const browser: { isChrome: () => boolean; isFirefox: () => boolean; isSafari: () => boolean; isEdge: () => boolean; isMobile: () => boolean; isTouch: () => boolean; getViewportSize: () => { width: number; height: number; }; getDevicePixelRatio: () => number; }; export declare const storage: { set: (key: string, value: unknown) => void; get: (key: string, fallback: T) => T; remove: (key: string) => void; clear: () => void; }; export declare const analytics: { track: (event: string, properties?: Record) => void; page: (page: string, properties?: Record) => void; identify: (userId: string, traits?: Record) => void; }; export declare const productionConfig: { errorReporting: { enabled: boolean; endpoint: string; apiKey: string; maxRetries: number; retryDelay: number; }; analytics: { enabled: boolean; trackingId: string; sampleRate: number; enableAutoPageTracking: boolean; }; performance: { enableMonitoring: boolean; sampleRate: number; thresholds: { renderTime: number; memoryUsage: number; bundleSize: number; }; }; features: { enableAdvancedAnimations: boolean; enableVirtualization: boolean; enableLazyLoading: boolean; enableA11yAuditing: boolean; enablePerformanceMonitoring: boolean; }; }; export declare const bundle: { reportSize: (componentName: string, size: number) => void; trackImport: (componentName: string) => void; }; export declare const health: { checkGlassSupport: () => { supported: boolean; issues: string[]; }; checkPerformance: () => { score: number; recommendations: string[]; }; }; export declare const initializeProduction: () => void; export declare const dev: { logComponentRender: (componentName: string, props: unknown) => void; logPerformanceWarning: (componentName: string, metric: string, value: number, threshold: number) => void; validateProps: (props: T, schema: Record boolean>) => boolean; }; //# sourceMappingURL=productionUtils.d.ts.map