import React, { ReactNode } from 'react';
declare type MyState = {
    hasError: boolean;
};
declare type Props = {
    children: ReactNode;
    errorText?: string;
};
export default class FieldErrorBoundary extends React.Component<Props, MyState> {
    constructor(props: Props);
    static getDerivedStateFromError(): MyState;
    render(): ReactNode;
}
export {};
