type MediaEditorFieldUi = {
    variant?: string;
    hideLabel?: boolean;
    hideDescription?: boolean;
    cropEditorMode?: 'dialog' | 'inline';
    cropEditorAutoOpen?: boolean;
    mediaPickerAutoOpen?: boolean;
    showMediaPreview?: boolean;
    showMediaOverlayActions?: boolean;
} & Record<string, unknown>;
type MediaEditorFieldLike = {
    type?: string;
    ui?: MediaEditorFieldUi;
};
export declare function withRepeaterThumbnailMediaFieldUi<T extends MediaEditorFieldLike>(field: T | null | undefined, options?: {
    mediaPickerAutoOpen?: boolean;
}): (T & {
    ui: MediaEditorFieldUi;
}) | null;
export {};
