import { InputLabelPosition, InputStyle, Spacing } from '../../enums.js'; import type { InputToggle, AdaptiveElement } from '../../models.js'; /** Fluent builder for {@link InputToggle} elements. */ export declare class InputToggleBuilder { private readonly input; /** Sets the unique identifier (required for form submission). @param id The unique identifier. @returns The builder instance for method chaining. */ withId(id: string): this; /** Sets the required toggle label displayed beside the checkbox. @param title The toggle label. @returns The builder instance for method chaining. */ withTitle(title: string): this; /** Sets the additional descriptive label displayed above the toggle. @param label The label text. @returns The builder instance for method chaining. */ withLabel(label: string): this; /** Sets the initial value of the toggle. @param value The initial value. @returns The builder instance for method chaining. */ withValue(value: string): this; /** Sets the value submitted when the toggle is on. @param valueOn The on value. @returns The builder instance for method chaining. */ withValueOn(valueOn: string): this; /** Sets the value submitted when the toggle is off. @param valueOff The off value. @returns The builder instance for method chaining. */ withValueOff(valueOff: string): this; /** Sets whether the toggle label wraps. @param wrap True to allow wrapping. @returns The builder instance for method chaining. */ withWrap(wrap?: boolean): this; /** Sets whether a value is required. @param isRequired True if required. @returns The builder instance for method chaining. */ withIsRequired(isRequired?: boolean): this; /** Sets the error message shown when validation fails. @param errorMessage The error message. @returns The builder instance for method chaining. */ withErrorMessage(errorMessage: 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; /** Sets the label position relative to the input. @param position The label position. @returns The builder instance for method chaining. */ withLabelPosition(position: InputLabelPosition): this; /** Sets the width of the label. @param width The label width (e.g. '100px' or '30%'). @returns The builder instance for method chaining. */ withLabelWidth(width: string): this; /** Sets the visual style of the input. @param style The input style. @returns The builder instance for method chaining. */ withInputStyle(style: InputStyle): this; /** Builds and returns the configured InputToggle element. @returns The configured InputToggle instance. */ build(): InputToggle; } //# sourceMappingURL=InputToggleBuilder.d.ts.map