import type { RepeaterFieldConfig } from '../../../fields/types';
import { type RepeaterGridColumnsFieldBindings } from '../../../../../blocks/src/index';
export type RepeaterCardDensity = 'compact' | 'comfortable';
type RepeaterThumbnailPresentation = {
    thumbnailField: string;
    thumbnailAltField?: string;
    thumbnailLabelField?: string;
    thumbnailAspectRatio?: string;
    density: RepeaterCardDensity;
};
export type RepeaterPresentationConfig = {
    mode: 'stack';
} | ({
    mode: 'thumbnailGrid';
} & RepeaterThumbnailPresentation) | ({
    mode: 'layoutGrid';
    columnsFields: RepeaterGridColumnsFieldBindings;
    spanField: string;
    rowField: string;
    columnField: string;
    maxRows?: number;
} & RepeaterThumbnailPresentation);
export declare function resolveRepeaterPresentation(config: RepeaterFieldConfig): RepeaterPresentationConfig;
export {};
