import type { E2EPage } from '@stencil/core/testing'; export interface FocusRing { outlineStyle: string; /** In px. */ outlineWidth: number; outlineColor: string; boxShadow: string; /** The page background, which an outline drawn outside the field sits on. */ pageBackground: string; } /** * Reads the outline and box-shadow of the element `selector` matches. Pass * the function itself to `page.evaluate()`. It runs in the browser, so it * must stay self-contained: no imports, no closures, no async. */ export declare function readFocusRing(selector: string): FocusRing; /** * Presses Tab until the element with `id` has focus, the way a keyboard user * reaches it, so `:focus-visible` matches. Fails if it takes more than 10. */ export declare function tabTo(page: E2EPage, id: string): Promise; /** * Chromium's forced-colors emulation, as in DevTools > Rendering > "Emulate * CSS media feature forced-colors". It forces colours as Windows high * contrast mode does: box-shadow computes to `none`, and border and outline * colours, transparent ones included, become system colours. Sent over CDP * because Puppeteer 21's emulateMediaFeatures() rejects `forced-colors`. */ export declare function emulateForcedColors(page: E2EPage): Promise;