/**
 * Get fields for a repeater item based on repeater configuration.
 *
 * Handles both monomorphic repeaters (fields defined on config) and
 * polymorphic repeaters (fields defined per item type).
 */
import type { RepeaterFieldConfig, FieldConfig } from '../../../fields/types';
import type { FormBackend } from '../../../backend/types';
/**
 * Get the fields for a specific repeater item.
 *
 * For monomorphic repeaters, returns config.fields.
 * For polymorphic repeaters, looks up the item's _type and returns
 * the fields from the corresponding itemType schema.
 *
 * @param config - Repeater field configuration
 * @param backend - Form backend for reading values
 * @param basePath - Base path to the repeater array
 * @param index - Index of the item in the array
 * @returns Array of field configs for this item
 */
export declare function getRepeaterItemFields(config: RepeaterFieldConfig, backend: FormBackend, basePath: string, index: number): FieldConfig[];
