/**
 * Shared field utilities
 *
 * Provides field traversal, ID collection, and rendering decision utilities.
 * These utilities are used across FormSet, Summary, and other form view components.
 *
 * @example
 * ```ts
 * import {
 *   traverse_fields,
 *   collect_field_ids,
 *   collect_field_ids_from_sections,
 *   should_render_field,
 *   is_field_empty,
 *   get_field_value,
 * } from '../shared/field_utils';
 *
 * // Collect all field IDs for batch operations
 * const all_ids = collect_field_ids_from_sections(sections);
 *
 * // Check if a field should be rendered
 * if (should_render_field(field, form_data, metadata, { user_role: 'responder' })) {
 *   renderField(field);
 * }
 *
 * // Custom field traversal
 * traverse_fields(fields, (field, parent, depth) => {
 *   console.log(`Processing ${field.id} at depth ${depth}`);
 * });
 * ```
 */
export type { TraversableField, TraversableSection, FieldVisitor, TraverseOptions, RenderCheckOptions, } from './types.js';
export { traverse_fields, traverse_sections } from './traverse_fields.js';
export { collect_field_ids, collect_field_ids_from_sections, collect_leaf_field_ids, } from './collect_field_ids.js';
export { should_render_field, is_field_empty, get_field_value, has_visible_children, has_visible_groups, } from './should_render_field.js';
//# sourceMappingURL=index.d.ts.map