export declare class DOMHelpers { private injectedStyles; /** * Inject CSS styles into the document head */ injectStyles(css: string, id: string): void; /** * Remove injected styles */ removeStyles(id: string): void; /** * Create a scoped container for widget elements */ createScopedContainer(className?: string): HTMLElement; /** * Get element dimensions and position */ getElementBounds(element: HTMLElement): DOMRect; /** * Check if element is visible in viewport */ isElementVisible(element: HTMLElement): boolean; /** * Wait for element to be ready (loaded for images) */ waitForElementReady(element: HTMLElement): Promise; /** * Safely remove element from DOM */ removeElement(element: HTMLElement): void; /** * Add CSS class with error handling */ addClass(element: HTMLElement, className: string): void; /** * Remove CSS class with error handling */ removeClass(element: HTMLElement, className: string): void; /** * Check if element has CSS class */ hasClass(element: HTMLElement, className: string): boolean; /** * Get computed style property */ getStyle(element: HTMLElement, property: string): string; /** * Set multiple styles at once */ setStyles(element: HTMLElement, styles: Record): void; /** * Create element with attributes */ createElement(tagName: string, attributes?: Record, content?: string): HTMLElement; /** * Find closest ancestor with specific selector */ findClosest(element: HTMLElement, selector: string): HTMLElement | null; /** * Debounce function for performance optimization */ debounce any>(func: T, wait: number): (...args: Parameters) => void; /** * Throttle function for performance optimization */ throttle any>(func: T, limit: number): (...args: Parameters) => void; /** * Check if browser supports required features */ checkBrowserSupport(): { supported: boolean; missing: string[]; }; } //# sourceMappingURL=dom-helpers.d.ts.map