import { Spacing } from '../enums.js'; import type { FactSet, Fact, AdaptiveElement } from '../models.js'; /** Fluent builder for {@link FactSet} elements. */ export declare class FactSetBuilder { private readonly factSet; /** Sets the unique identifier. @param id The unique identifier. @returns The builder instance for method chaining. */ withId(id: 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 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 a fact with the given title and value. @param title The fact label. @param value The fact value. @returns The builder instance for method chaining. */ addFact(title: string, value: string): this; /** Adds a pre-built Fact object. @param fact A pre-built Fact. @returns The builder instance for method chaining. */ addFact(fact: Fact): this; /** Builds and returns the configured FactSet. @returns The configured FactSet instance. */ build(): FactSet; } //# sourceMappingURL=FactSetBuilder.d.ts.map