10 lines
488 B
TypeScript
Raw Normal View History

2026-05-31 13:21:13 +02:00
/**
* Waits for all images in a container to load and applies appropriate styling.
* This ensures accurate bounding box measurements after images are loaded.
*
* @param container - The HTML element containing img tags
* @param labelText - The original label text to check if there's text besides images
* @returns Promise that resolves when all images are loaded and styled
*/
export declare function configureLabelImages(container: HTMLElement, labelText: string): Promise<void>;