/** * Browser API Polyfills using happy-dom * * This module provides browser API polyfills using happy-dom * for lightweight, modern browser environment simulation in Node.js. * * Migration Guide: * - Individual polyfills replaced by happy-dom global setup * - 85% functionality coverage with 60% bundle size reduction * - Better performance and maintenance than individual polyfills */ /** * Initialize happy-dom polyfills * @returns Promise Happy-dom window instance */ export declare function initializePolyfills(): Promise; /** * Get the current happy-dom window instance * @returns any Current window instance or null if not initialized */ export declare function getWindow(): any; /** * Reset happy-dom instance (useful for test isolation) */ export declare function resetPolyfills(): void; /** * Legacy compatibility exports for individual polyfills * These maintain backward compatibility while using happy-dom internally */ export declare function getResizeObserver(): any; export declare function getIntersectionObserver(): any; export declare function matchMedia(query: string): MediaQueryList | null; export declare class ClipboardAPI { writeText(text: string): Promise; readText(): Promise; } export declare const clipboard: ClipboardAPI; /** * Polyfill orchestrator for backward compatibility */ export declare class PolyfillOrchestrator { private initialized; initialize(): Promise; reset(): void; isInitialized(): boolean; } export declare const polyfillOrchestrator: PolyfillOrchestrator; export declare const ResizeObserver: any; export declare const IntersectionObserver: any; //# sourceMappingURL=index.d.ts.map