2026-05-31 13:54:31 +02:00

10 lines
488 B
TypeScript

/**
* 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>;