/**
 * Utility to convert library ElementData to PendingFieldEntry
 */
import type { FieldElementData, GroupElementData, ElementData } from '../../hazo_field_library/types.js';
import type { PendingFieldEntry } from '../types.js';
/**
 * Convert a FieldElementData to a PendingFieldEntry
 */
export declare function field_element_to_pending(data: FieldElementData, area: string, key: string): PendingFieldEntry;
/**
 * Convert a GroupElementData to a PendingFieldEntry
 *
 * @param resolved_fields - Optional pre-resolved child field configs from the library.
 *   When provided, these are stored in source_config.fields so that
 *   new_field_definition_to_config can include them in the resulting FieldConfig.
 */
export declare function group_element_to_pending(data: GroupElementData, area: string, key: string, resolved_fields?: Record<string, unknown>[]): PendingFieldEntry;
/**
 * Convert any ElementData to a PendingFieldEntry
 * Returns null if the element data is invalid
 */
export declare function element_to_pending(data: ElementData, area: string, key: string): PendingFieldEntry | null;
//# sourceMappingURL=library_to_pending.d.ts.map