import React from 'react';
import type { IFormikExpressionFieldProps } from './FormikExpressionField';
import type { ISpelError } from '../inputs';
export interface IRegexpProps {
    RegexHelp?: JSX.Element;
    regexName: string;
    replaceName: string;
}
export declare type IFormikExpressionRegexFieldProps = IFormikExpressionFieldProps & IRegexpProps;
export interface IFormikExpressionRegexFieldState {
    spelPreview: string;
    spelError: ISpelError;
}
export declare class FormikExpressionRegexField extends React.Component<IFormikExpressionRegexFieldProps, IFormikExpressionRegexFieldState> {
    static defaultProps: Partial<IFormikExpressionFieldProps>;
    state: IFormikExpressionRegexFieldState;
    private renderRegexFields;
    private renderPreview;
    private renderFormField;
    render(): JSX.Element;
}
