import type { Image, AdaptiveElement } from '../models.js'; import { HorizontalAlignment, ImageSize, ImageStyle, Spacing } from '../enums.js'; import { ActionBuilder } from './ActionBuilder.js'; /** Fluent builder for {@link Image} elements. */ export declare class ImageBuilder { private readonly image; /** Sets the unique identifier. @param id The unique identifier. @returns The builder instance for method chaining. */ withId(id: string): this; /** Sets the URL of the image. @param url The image URL. @returns The builder instance for method chaining. */ withUrl(url: string): this; /** Sets the alternate text for accessibility. @param altText The alt text. @returns The builder instance for method chaining. */ withAltText(altText: string): this; /** Sets the size of the image. @param size The image size. @returns The builder instance for method chaining. */ withSize(size: ImageSize): this; /** Sets the display style of the image. @param style The image style. @returns The builder instance for method chaining. */ withStyle(style: ImageStyle): this; /** Sets the explicit width of the image. @param width The width (e.g. `'80px'`). @returns The builder instance for method chaining. */ withWidth(width: string): this; /** Sets the explicit height of the image. @param height The height (e.g. `'80px'`). @returns The builder instance for method chaining. */ withHeight(height: string): this; /** Sets the horizontal alignment of the image. @param alignment The horizontal alignment. @returns The builder instance for method chaining. */ withHorizontalAlignment(alignment: HorizontalAlignment): this; /** Sets the background color for transparent images. @param color The background color (e.g. `'#FF0000'`). @returns The builder instance for method chaining. */ withBackgroundColor(color: string): 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 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; /** Sets the action to invoke when the image is selected.@param configure A callback to configure the ActionBuilder. @returns The builder instance for method chaining. */ withSelectAction(configure: (b: ActionBuilder) => void): this; /** Builds and returns the configured Image. @returns The configured Image instance. */ build(): Image; } //# sourceMappingURL=ImageBuilder.d.ts.map