/**
 * SPEC-14 form field width helpers.
 * Uniform 12-column grid (`grid-cols-1 md:grid-cols-12`); no tiers.
 * `getDefaultSpan` returns 1..12; `resolveFieldSpan` honors `widget.span` when declared;
 * `applyAutoExpand` expands the last field of any incomplete final row per container.
 */
import type { Property } from './model.js';
/**
 * Default column span for a property when no `widget.span` override is
 * declared. The table is type-based; `maxLength` is consulted ONLY for
 * `varchar` (the one type where character length is a useful proxy of
 * typical UI width).
 */
export declare function getDefaultSpan(property: Property): number;
/**
 * Resolves final desktop span: honors `widget.span` when declared, else `getDefaultSpan`.
 * Out-of-range overrides are clamped to [1, 12] with a `console.warn` (defense in depth — the
 * JSON schema also validates the range, but this catches pre-schema YAMLs and custom loaders).
 */
export declare function resolveFieldSpan(property: Property): number;
/**
 * Auto-expand pass for one container (form, group, or tab). Walks left-to-right tracking a row
 * accumulator, wraps on overflow, and expands the last field to fill any incomplete final row.
 * Pure — invoked once per container, returns a new array of the same length.
 */
export declare function applyAutoExpand(spans: number[]): number[];
