import { BaseField } from '../../BaseField';
import { FormContext } from '../../form/FormContext';
import { Values } from '../../form/Values';
import { InterceptorConfig } from '../InterceptorConfig';
import { InterceptorHandler } from '../InterceptorHandler';
import { InterceptorHandlerResponse } from '../InterceptorHandlerResponse';
export declare class ValidatorRegex extends InterceptorConfig {
  static id: string;
  regex?: string;
  regexFlags: string;
  message?: string;
  constructor(regex: string, message?: string);
}
export declare class ValidatorRegexHandler extends InterceptorHandler {
  private config;
  constructor(config: ValidatorRegex);
  run(context: FormContext, _: Values, field: BaseField, value: any): InterceptorHandlerResponse;
}
