import type { ImageSet, Image, AdaptiveElement } from '../models.js'; import { ImageSize, Spacing } from '../enums.js'; import { ImageBuilder } from './ImageBuilder.js'; /** Fluent builder for {@link ImageSet} elements. */ export declare class ImageSetBuilder { private readonly imageSet; /** Sets the unique identifier. @param id The unique identifier. @returns The builder instance for method chaining. */ withId(id: string): this; /** Sets the default display size for all images in the set. @param size The image size. @returns The builder instance for method chaining. */ withImageSize(size: ImageSize): this; /** Sets the spacing above the element. @param spacing The spacing value. @returns The builder instance for method chaining. */ withSpacing(spacing: Spacing): this; /** Sets whether a separator line is displayed above the element. @param separator True to show a separator. @returns The builder instance for method chaining. */ withSeparator(separator?: boolean): this; /** Sets whether the element is visible. @param isVisible True to show the element. @returns The builder instance for method chaining. */ withIsVisible(isVisible: boolean): this; /** Sets the height of the element. @param height The height ('auto' or 'stretch'). @returns The builder instance for method chaining. */ withHeight(height: string): this; /** Sets the fallback behavior when the element is unsupported. @param fallback The fallback value ('drop' or an element). @returns The builder instance for method chaining. */ withFallback(fallback: 'drop' | AdaptiveElement): this; /** Sets the feature requirements for the element. @param key The feature name. @param version The minimum required version. @returns The builder instance for method chaining. */ withRequires(key: string, version: string): this; /** Sets whether content should be laid out right-to-left. @param rtl True for RTL. @returns The builder instance for method chaining. */ withRtl(rtl?: boolean): this; /** Adds an image using a builder callback. @param configure A callback to configure the Image builder. @returns The builder instance for method chaining. */ addImage(configure: (b: ImageBuilder) => void): this; /** Adds a pre-built Image object. @param image A pre-built Image. @returns The builder instance for method chaining. */ addImage(image: Image): this; /** Builds and returns the configured ImageSet. @returns The configured ImageSet instance. */ build(): ImageSet; } //# sourceMappingURL=ImageSetBuilder.d.ts.map