export declare function findElement(selector: string): HTMLElement | null;
/**
 * Resolves with the element once it appears in the DOM, or null after the
 * timeout. Used for tour continuations: after a cross-page hop the queue check
 * usually beats the app rendering a tooltip/inline anchor, so a one-shot
 * lookup would fail on exactly the step that just navigated (INAPP-14575).
 */
export declare function waitForElement(selector: string, timeoutMs: number): Promise<HTMLElement | null>;
export declare function el<K extends keyof HTMLElementTagNameMap>(tag: K, attrs?: Partial<HTMLElementTagNameMap[K]> & {
    [k: string]: unknown;
}): HTMLElementTagNameMap[K];
export declare function injectStylesheet(id: string, css: string): void;
export declare function appendToBody(element: HTMLElement): void;
