/**
 * Shared field state utilities
 *
 * Provides canonical types and normalization functions for field metadata.
 * Use these utilities to ensure consistent handling of field state across
 * FormSet, Summary, and other form view components.
 *
 * @example
 * ```ts
 * import {
 *   normalize_field_metadata,
 *   normalize_field_metadata_record,
 *   normalize_field_metadata_input,
 *   type FieldMetadata,
 *   type FieldMetadataInput,
 * } from '../shared/field_state';
 *
 * // Normalize single metadata input
 * const normalized = normalize_field_metadata({ hidden: true, dataOk: 'ok' });
 * // => { visibility: 'hidden', data_ok: 'ok' }
 *
 * // Normalize entire record
 * const record = normalize_field_metadata_record({
 *   field1: { hidden: true },
 *   field2: { visibility: 'visible', data_ok: 'pending' },
 * });
 * ```
 */
export type { DataOkState, ConfirmState, FieldMetadata, FieldMetadataInput, NormalizedFieldMetadata, FieldMetadataChange, } from './types.js';
export { normalize_field_metadata, normalize_field_metadata_input, normalize_field_metadata_record, dev_warning, } from './normalize.js';
//# sourceMappingURL=index.d.ts.map