import { BaseField } from '../BaseField';
import { FormContext } from '../form/FormContext';
import { Values } from '../form/Values';
import { InterceptorHandlerResponse } from './InterceptorHandlerResponse';
export declare abstract class InterceptorHandler {
  /**
   * Called by the Form.
   *
   * @param context of the form.
   * @param values of the form fields at the moment.
   * @param field whose value is changed.
   * @param value
   * @param boundField
   */
  abstract run(context: FormContext, values: Values, field: BaseField, value: any, boundField?: BaseField): InterceptorHandlerResponse;
}
