/** * Setup jsdom environment for Stencil component testing * * This module provides polyfills and initialization for testing Stencil components * in a jsdom environment. It handles: * - Polyfilling adoptedStyleSheets for Shadow DOM * - Polyfilling CSS support detection * - Polyfilling requestAnimationFrame and related APIs * - Loading and initializing Stencil lazy loader * * @example * ```ts * // vitest.config.ts * export default defineVitestConfig({ * test: { * setupFiles: ['@stencil/vitest/jsdom-setup'], * }, * }); * ``` */ /** * Apply polyfills to a jsdom window object for Stencil components * This function is reused by both the setup file and the custom environment */ export declare function applyJsdomPolyfills(window: Window & typeof globalThis): void; /** * Initialize jsdom environment for Stencil testing */ export declare function setup(): Promise; //# sourceMappingURL=jsdom-setup.d.ts.map