/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React, { PropsWithChildren } from 'react';
import { FormFieldController } from '../formFieldController';
interface Props extends PropsWithChildren {
    controller: FormFieldController;
    inputElement?: HTMLInputElement | HTMLTextAreaElement;
}
/**
 * This container adds a spinner to the input / textarea element if the controller is processing.
 * The spinner is positioned at the right side of the element. Since MUI TextFields can have end
 * adornments, the spinner is positioned at the end of the <input /> element and not at the end of
 * the TextField wrapper. Vertically the spinner is positioned at the bottom of the element if it is
 * a textarea, otherwise at the middle of the element.
 */
export declare const FormFieldProcessingContainer: ({ controller, inputElement: element, children }: Props) => React.JSX.Element;
export {};
