/**
 * DOM Manipulation Utilities
 *
 * Centralized utilities for common DOM operations to reduce code duplication
 * and ensure consistent error handling.
 */
/**
 * Safely remove an element by ID
 */
export declare function removeElementById(id: string): void;
/**
 * Remove tour click handlers from an element
 */
export declare function removeTourClickHandler(element: HTMLElement): void;
/**
 * Remove all step highlight classes and their associated handlers
 */
export declare function removeStepHighlights(): void;
/**
 * Get all interactive elements on the page, ordered by DOM position.
 * Interactive elements include: buttons, inputs, links, select elements, etc.
 */
export declare function getAllInteractiveElements(): HTMLElement[];
/**
 * Get an interactive element by its index.
 * First tries to use data-id from get_html indexing, then falls back to current behavior.
 * @param index The zero-based index of the element
 * @returns The element at the given index, or null if not found
 */
export declare function getElementByIndex(index: number): HTMLElement | null;
/**
 * Get all file input elements on the page, ordered by DOM position.
 */
export declare function getAllFileInputs(): HTMLInputElement[];
/**
 * Get a file input element by its index.
 */
export declare function getFileInputByIndex(index: number): HTMLInputElement | null;
/**
 * Get all select/dropdown elements on the page, ordered by DOM position.
 */
export declare function getAllSelectElements(): HTMLSelectElement[];
/**
 * Get a select element by its index.
 */
export declare function getSelectElementByIndex(index: number): HTMLSelectElement | null;
export declare function isInteractable(el: Element | null): boolean;
/**
 * Attribute Parsing Utilities
 *
 * Pure utility functions for parsing script tag data attributes.
 * These functions validate and normalize attribute values.
 */
/**
 * Parse position attribute from script tag
 */
export declare function parsePositionAttribute(value: string | null): 'bottom_right' | 'bottom_left' | 'top_left' | 'top_right';
/**
 * Parse theme attribute from script tag
 */
export declare function parseThemeAttribute(value: string | null): 'light' | 'dark';
/**
 * Parse enabled modes attribute from script tag
 */
export declare function parseEnabledModesAttribute(value: string | null): ('show' | 'tell' | 'do')[];
//# sourceMappingURL=dom.d.ts.map