import type { ReactiveElement } from 'lit'; /** * Press a key or key combination (e.g. 'Shift+Tab'). * Decomposes modifier combos for Puppeteer compatibility. */ export declare function press(key: string): Promise; export type Position = [x: number, y: number]; /** * Get the center coords of an element. * @param element get the center of this element's bounding box */ export declare function getElementCenterPosition(element: Element): Position; /** * Click an element at approximate center, using playwright's sendMouse command * @param element to click at it's center */ export declare function clickElementAtCenter(element: Element): Promise; /** * Click an element at an offset from it's top-left corner, * using playwright's sendMouse command * @param element to click * @param relativeOffset x,y coords tuple * @param [options] options * @param [options.allowOutOfBounds] allow the browser to click outside of the element boundaries */ export declare function clickElementAtOffset(element: Element, relativeOffset: Position, options?: { allowOutOfBounds?: true; }): Promise; /** * Waits for an element to completely finish updating, or throws after 100 attempts * Will also throw if the element doesn't have an `updateComplete` promise * @param element to wait on */ export declare function allUpdates(element: ReactiveElement): Promise;