import type { FragmentDefinition } from '../types';
import type { FieldDefinition, RepeaterFieldDefinition } from '../../manifest/schema';
/**
 * Converts a record of fragments into a polymorphic repeater field definition.
 * This allows fragments to be used in blocks via repeaters with type selection.
 *
 * @example
 * ```typescript
 * const field = fragmentsToRepeaterField(
 *   'items',
 *   'Column content',
 *   {
 *     card: cardFragment,
 *     quote: quoteFragment,
 *     stat: statFragment
 *   },
 *   { minItems: 0, maxItems: 50 }
 * );
 * ```
 */
export declare function fragmentsToRepeaterField(id: string, label: string, fragments: Record<string, FragmentDefinition>, options?: {
    minItems?: number;
    maxItems?: number;
    itemLabel?: string;
    itemLabelSource?: string;
    description?: string;
    allowConversion?: boolean;
    commonFields?: FieldDefinition[];
}): RepeaterFieldDefinition;
