/** * @module kung-fu/components */ /** * Wraps images with figure and figcaption elements * Uses the image's title or alt text as the figcaption content * Skips images that have the specified exclusion attribute * * @export * @param {string} [selector='img'] - CSS selector for images to wrap * @param {string} [exclusion='data-no-caption'] - Attribute that marks images to skip * @returns {void} * @example * // Wrap all images on the page with figure elements * wrapImageWithFigure(); * * // Wrap only images with a specific class * wrapImageWithFigure('.article-image'); * * // Use a custom attribute to mark images that should not be wrapped * wrapImageWithFigure('img', 'data-skip-figure'); */ export declare const wrapImageWithFigure: (selector?: string, exclusion?: string) => void;