import React from 'react'; export interface Validation { type: string; values?: Array; min?: number; max?: number; pattern?: string; } export interface FieldDescriptor { key: string; name: string; description?: string; type: string; isList?: boolean; required?: boolean; validations?: Validation[]; subFields?: FieldDescriptor[]; appearance?: Record; } /** * Renders the value input for one field descriptor, bound to `name` in the * surrounding form. `choices` → React-Select; `group` → sub-fields (or a card * repeater when a list); other lists → the controlled list editor; otherwise a * single typed input. */ export declare function MetafieldValueInput({ field, name, initialValue, isSubField }: { field: FieldDescriptor; name: string; /** Stored value used to seed the block Editor for `rich_text` (see below). */ initialValue?: unknown; /** True when rendered as a group sub-field — suppresses client `required`. */ isSubField?: boolean; }): React.JSX.Element;