/**
 * Section manipulation utilities for dynamic field/group insertion.
 */
import type { ViewSection } from '../components/hazo_collab_form_view/types.js';
/**
 * Insert a field after a given field or group ID in sections.
 * If `id` is not provided in field_config, one is auto-generated.
 *
 * @param sections - The sections array to modify (immutable — returns new array)
 * @param after_id - The field or group ID to insert after
 * @param field_config - Field configuration (id, label, field_type, etc.)
 * @returns New sections array with the field inserted
 */
export declare function insert_field_after(sections: ViewSection[], after_id: string, field_config: {
    id?: string;
    label: string;
    field_type?: string;
    [key: string]: unknown;
}): ViewSection[];
//# sourceMappingURL=section_helpers.d.ts.map