import React from 'react'; import type { CombinedError } from 'urql'; export type OnTryAgain = () => (Promise | T); export type OnTryAgainWithNetworkStatus = (wasNetworkRelated: boolean) => (Promise | void); export type GenericErrorProps = { readonly onTryAgain?: OnTryAgain; readonly onTryAgainWithNetworkStatus?: OnTryAgainWithNetworkStatus; readonly customMessage?: string; readonly error: CombinedError | undefined; }; export declare const GenericError: React.FC; export default GenericError;