import type { Table, TableColumnDefinition, TableRow, AdaptiveElement } from '../models.js'; import { ContainerStyle, HorizontalAlignment, VerticalAlignment, Spacing } from '../enums.js'; /** Fluent builder for {@link Table} elements. */ export declare class TableBuilder { private readonly table; /** Sets the unique identifier. @param id The unique identifier. @returns The builder instance for method chaining. */ withId(id: string): this; /** Sets whether the first row is treated as a header row. @param firstRowAsHeader True to treat the first row as a header. @returns The builder instance for method chaining. */ withFirstRowAsHeader(firstRowAsHeader?: boolean): this; /** Sets whether grid lines are displayed. @param showGridLines True to show grid lines. @returns The builder instance for method chaining. */ withShowGridLines(showGridLines?: boolean): this; /** Sets the style of the grid lines. @param gridStyle The container style for grid lines. @returns The builder instance for method chaining. */ withGridStyle(gridStyle: ContainerStyle): this; /** Sets the default horizontal alignment of cell content. @param alignment The horizontal alignment. @returns The builder instance for method chaining. */ withHorizontalCellContentAlignment(alignment: HorizontalAlignment): this; /** Sets the default vertical alignment of cell content. @param alignment The vertical alignment. @returns The builder instance for method chaining. */ withVerticalCellContentAlignment(alignment: VerticalAlignment): 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 column definition. @param column The column definition. @returns The builder instance for method chaining. */ addColumn(column: TableColumnDefinition): this; /** Adds a row to the table. @param row The table row. @returns The builder instance for method chaining. */ addRow(row: TableRow): this; /** Builds and returns the configured Table. @returns The configured Table instance. */ build(): Table; } //# sourceMappingURL=TableBuilder.d.ts.map